Searched refs:sourceLocationInMainFile (Results 1 – 9 of 9) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
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() 528 auto CurLoc = sourceLocationInMainFile(AST.getSourceManager(), Code.point()); in TEST() 542 auto CurLoc = sourceLocationInMainFile(AST.getSourceManager(), Code.point()); in TEST()
|
D | CollectMacrosTests.cpp | 90 auto Loc = sourceLocationInMainFile(SM, ExpectedRefs.begin()->start); in TEST()
|
D | ASTTests.cpp | 43 auto Location = sourceLocationInMainFile(SM.get(), Pos); in TEST()
|
D | XRefsTests.cpp | 962 cantFail(sourceLocationInMainFile(AST.getSourceManager(), T.point())), in TEST() 1452 SpelledWord::touching(cantFail(sourceLocationInMainFile(SM, T.point())), in TEST() 1928 sourceLocationInMainFile(AST.getSourceManager(), File.point())); in TEST()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | SourceCode.h | 75 llvm::Expected<SourceLocation> sourceLocationInMainFile(const SourceManager &SM,
|
D | XRefs.cpp | 663 auto CurLoc = sourceLocationInMainFile(SM, Pos); in locateSymbolAt() 1092 auto CurLoc = sourceLocationInMainFile(SM, Pos); in findDocumentHighlights() 1142 auto CurLoc = sourceLocationInMainFile(SM, Pos); in findImplementations() 1193 auto CurLoc = sourceLocationInMainFile(SM, Pos); in findReferences() 1284 auto CurLoc = sourceLocationInMainFile(SM, Pos); in getSymbolInfo() 1658 auto Loc = sourceLocationInMainFile(SM, Pos); in prepareCallHierarchy()
|
D | Hover.cpp | 806 auto CurLoc = sourceLocationInMainFile(SM, Pos); in getHover()
|
D | SourceCode.cpp | 456 llvm::Expected<SourceLocation> sourceLocationInMainFile(const SourceManager &SM, in sourceLocationInMainFile() function
|
/external/llvm-project/clang-tools-extra/clangd/refactor/ |
D | Rename.cpp | 617 auto Loc = sourceLocationInMainFile(SM, RInputs.Pos); in rename()
|