Home
last modified time | relevance | path

Searched refs:sourceLocationInMainFile (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DSourceCodeTests.cpp296 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()
DCollectMacrosTests.cpp90 auto Loc = sourceLocationInMainFile(SM, ExpectedRefs.begin()->start); in TEST()
DASTTests.cpp43 auto Location = sourceLocationInMainFile(SM.get(), Pos); in TEST()
DXRefsTests.cpp962 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/
DSourceCode.h75 llvm::Expected<SourceLocation> sourceLocationInMainFile(const SourceManager &SM,
DXRefs.cpp663 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()
DHover.cpp806 auto CurLoc = sourceLocationInMainFile(SM, Pos); in getHover()
DSourceCode.cpp456 llvm::Expected<SourceLocation> sourceLocationInMainFile(const SourceManager &SM, in sourceLocationInMainFile() function
/external/llvm-project/clang-tools-extra/clangd/refactor/
DRename.cpp617 auto Loc = sourceLocationInMainFile(SM, RInputs.Pos); in rename()