Add location info from DLoc to ORE message Remark.

Synopsis

Declared in <llvm/Analysis/InlineAdvisor.h>

void
addLocationToRemarks(
    OptimizationRemark& Remark,
    DebugLoc DLoc);

Parameters

Name

Description

Remark

Optimization remark to annotate.

DLoc

Debug location whose info is appended.

Created with MrDocs