Searched refs:getCorrespondingHeaderOrSource (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | HeaderSourceSwitchTests.cpp | 35 getCorrespondingHeaderOrSource(FooCpp, FS.view(llvm::None)); in TEST() 39 PathResult = getCorrespondingHeaderOrSource(FooH, FS.view(llvm::None)); in TEST() 50 PathResult = getCorrespondingHeaderOrSource(FooC, FS.view(llvm::None)); in TEST() 59 PathResult = getCorrespondingHeaderOrSource(Foo2C, FS.view(llvm::None)); in TEST() 69 PathResult = getCorrespondingHeaderOrSource(Foo3C, FS.view(llvm::None)); in TEST() 75 PathResult = getCorrespondingHeaderOrSource(Invalid, FS.view(llvm::None)); in TEST() 183 getCorrespondingHeaderOrSource(testPath(TU.Filename), HeaderAST, in TEST() 249 getCorrespondingHeaderOrSource(testPath(TU.Filename), AST, in TEST() 305 EXPECT_THAT(getCorrespondingHeaderOrSource(HeaderAbsPath, AST, Index.get()), in TEST() 308 EXPECT_THAT(getCorrespondingHeaderOrSource(HeaderAbsPath, AST, Index.get()), in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | HeaderSourceSwitch.h | 20 llvm::Optional<Path> getCorrespondingHeaderOrSource( 25 llvm::Optional<Path> getCorrespondingHeaderOrSource(PathRef OriginalFile,
|
| H A D | HeaderSourceSwitch.cpp | 20 llvm::Optional<Path> getCorrespondingHeaderOrSource( in getCorrespondingHeaderOrSource() function 70 llvm::Optional<Path> getCorrespondingHeaderOrSource(PathRef OriginalFile, in getCorrespondingHeaderOrSource() function
|
| H A D | ClangdServer.cpp | 715 getCorrespondingHeaderOrSource(Path, TFS.view(llvm::None))) in switchSourceHeader() 721 CB(getCorrespondingHeaderOrSource(Path, InpAST->AST, Index)); in switchSourceHeader()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | DefineOutline.cpp | 65 if (auto Source = getCorrespondingHeaderOrSource(FileName, Sel.FS)) in getSourceFile() 67 return getCorrespondingHeaderOrSource(FileName, *Sel.AST, Sel.Index); in getSourceFile()
|