Searched refs:sourceLocationInMainFile (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | SourceCodeTests.cpp | 296 EXPECT_THAT_EXPECTED(sourceLocationInMainFile(SM, position(0, 0)), in TEST() 300 sourceLocationInMainFile(SM, position(4, 0)), in TEST() 303 EXPECT_THAT_EXPECTED(sourceLocationInMainFile(SM, position(0, 1)), Failed()); in TEST() 304 EXPECT_THAT_EXPECTED(sourceLocationInMainFile(SM, position(0, 100)), in TEST() 306 EXPECT_THAT_EXPECTED(sourceLocationInMainFile(SM, position(4, 1)), Failed()); in TEST() 308 EXPECT_THAT_EXPECTED(sourceLocationInMainFile(SM, position(5, 0)), Failed()); in TEST() 312 EXPECT_THAT_EXPECTED(sourceLocationInMainFile(SM, P), in TEST() 538 auto CurLoc = sourceLocationInMainFile(AST.getSourceManager(), Code.point()); in TEST() 552 auto CurLoc = sourceLocationInMainFile(AST.getSourceManager(), Code.point()); in TEST()
|
| H A D | CollectMacrosTests.cpp | 89 auto Loc = sourceLocationInMainFile(SM, ExpectedRefs.begin()->start); in TEST()
|
| H A D | ASTTests.cpp | 244 auto Location = sourceLocationInMainFile(SM.get(), Pos); in TEST()
|
| H A D | XRefsTests.cpp | 1242 cantFail(sourceLocationInMainFile(AST.getSourceManager(), T.point())), in TEST() 1732 SpelledWord::touching(cantFail(sourceLocationInMainFile(SM, T.point())), in TEST() 2446 sourceLocationInMainFile(AST.getSourceManager(), File.point())); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SourceCode.h | 76 llvm::Expected<SourceLocation> sourceLocationInMainFile(const SourceManager &SM,
|
| H A D | XRefs.cpp | 764 auto CurLoc = sourceLocationInMainFile(SM, Pos); in locateSymbolAt() 1236 auto CurLoc = sourceLocationInMainFile(SM, Pos); in findDocumentHighlights() 1287 auto CurLoc = sourceLocationInMainFile(SM, Pos); in findImplementations() 1337 auto CurLoc = sourceLocationInMainFile(SM, Pos); in findReferences() 1508 auto CurLoc = sourceLocationInMainFile(SM, Pos); in getSymbolInfo() 2125 auto Loc = sourceLocationInMainFile(SM, Pos); in prepareCallHierarchy()
|
| H A D | SourceCode.cpp | 453 llvm::Expected<SourceLocation> sourceLocationInMainFile(const SourceManager &SM, in sourceLocationInMainFile() function
|
| H A D | Hover.cpp | 966 auto CurLoc = sourceLocationInMainFile(SM, Pos); in getHover()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | SymbolCollector.cpp | 666 auto StartLoc = cantFail(sourceLocationInMainFile(SM, Range.start)); in handleMacros() 667 auto EndLoc = cantFail(sourceLocationInMainFile(SM, Range.end)); in handleMacros()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | Rename.cpp | 700 auto Loc = sourceLocationInMainFile(SM, RInputs.Pos); in rename()
|