Searched refs:LLVMSrcMgr (Results 1 – 2 of 2) sorted by relevance
35 SourceLocation SourceMgrAdapter::mapLocation(const llvm::SourceMgr &LLVMSrcMgr, in mapLocation() argument42 unsigned BufferID = LLVMSrcMgr.FindBufferContainingLoc(Loc); in mapLocation()47 auto Buffer = LLVMSrcMgr.getMemoryBuffer(BufferID); in mapLocation()71 std::make_pair(&LLVMSrcMgr, BufferID), FileID)) in mapLocation()81 SourceRange SourceMgrAdapter::mapRange(const llvm::SourceMgr &LLVMSrcMgr, in mapRange() argument86 SourceLocation Start = mapLocation(LLVMSrcMgr, Range.Start); in mapRange()87 SourceLocation End = mapLocation(LLVMSrcMgr, Range.End); in mapRange()94 if (auto *LLVMSrcMgr = Diag.getSourceMgr()) in handleDiag() local95 Loc = mapLocation(*LLVMSrcMgr, Diag.getLoc()); in handleDiag()122 if (auto *LLVMSrcMgr = Diag.getSourceMgr()) { in handleDiag() local[all …]
63 SourceLocation mapLocation(const llvm::SourceMgr &LLVMSrcMgr,68 SourceRange mapRange(const llvm::SourceMgr &LLVMSrcMgr, llvm::SMRange Range);