Home
last modified time | relevance | path

Searched refs:getComposedLoc (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/include-cleaner/unittests/
H A DWalkASTTest.cpp35 SM.getComposedLoc(ReferencingFile, Referencing.point()); in testWalk()
65 FullSourceLoc(SM.getComposedLoc(TargetFile, Offset), SM), in testWalk()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DPreambleTests.cpp365 SM.getComposedLoc(SM.getMainFileID(), Modified.point("use"))); in TEST()
389 SM.getComposedLoc(SM.getMainFileID(), Modified.point())); in TEST()
H A DSourceCodeTests.cpp365 AST->getSourceManager().getComposedLoc( in tryWord()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DTweak.cpp69 Cursor = SM.getComposedLoc(SM.getMainFileID(), RangeBegin); in Selection()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSelection.cpp325 SourceLocation Limit = SM.getComposedLoc(FID, SM.getFileIDSize(FID)); in test()
1012 SourceLocation Loc = SM.getComposedLoc(SM.getMainFileID(), Offset); in pointBounds()
1061 SourceRange(SM.getComposedLoc(FID, Begin), SM.getComposedLoc(FID, End)) in SelectionTree()
H A DSourceCode.cpp271 return SM.getComposedLoc(IncludingFile, Offset); in includeHashLoc()
960 Result.Location = SM.getComposedLoc(File, B); in touching()
H A DParsedAST.cpp179 auto HashLoc = SM.getComposedLoc(SM.getMainFileID(), Inc.HashOffset); in replay()
H A DXRefs.cpp848 auto HashLoc = SM.getComposedLoc(SM.getMainFileID(), Inc.HashOffset); in getDocumentLinks()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DNoLintDirectiveHandler.cpp376 SourceLocation Loc = SrcMgr.getComposedLoc(File, NoLint.Pos); in makeNoLintError()
/llvm-project-15.0.7/clang/unittests/Tooling/Syntax/
H A DTokensTest.cpp957 SourceLocation Loc = SourceMgr->getComposedLoc(SourceMgr->getMainFileID(), in TEST_F()
962 SourceLocation Loc = SourceMgr->getComposedLoc(SourceMgr->getMainFileID(), in TEST_F()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DTokens.cpp319 SourceRange(SM.getComposedLoc(File, Begin), SM.getComposedLoc(File, End)), in toCharRange()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceManager.h1227 SourceLocation getComposedLoc(FileID FID, unsigned Offset) const { in getComposedLoc() function
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp3013 SourceLocation Loc = Diag.SourceMgr->getComposedLoc(FileIDAndFile.first, 0); in WritePragmaDiagnosticMappings()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp7185 SM.getComposedLoc(DecomposedEnd.first, DecomposedEnd.second); in clang_getToken()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTImporter.cpp9333 return ToSM.getComposedLoc(*ToFileIDOrErr, Decomposed.second); in Import()