Home
last modified time | relevance | path

Searched refs:LLVMSrcMgr (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSourceMgrAdapter.cpp35 SourceLocation SourceMgrAdapter::mapLocation(const llvm::SourceMgr &LLVMSrcMgr, in mapLocation() argument
42 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() argument
86 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() local
95 Loc = mapLocation(*LLVMSrcMgr, Diag.getLoc()); in handleDiag()
122 if (auto *LLVMSrcMgr = Diag.getSourceMgr()) { in handleDiag() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceMgrAdapter.h63 SourceLocation mapLocation(const llvm::SourceMgr &LLVMSrcMgr,
68 SourceRange mapRange(const llvm::SourceMgr &LLVMSrcMgr, llvm::SMRange Range);