Home
last modified time | relevance | path

Searched refs:getProjectInfo (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/
DGlobalCompilationDatabase.h44 virtual llvm::Optional<ProjectInfo> getProjectInfo(PathRef File) const { in getProjectInfo() function
81 llvm::Optional<ProjectInfo> getProjectInfo(PathRef File) const override;
136 llvm::Optional<ProjectInfo> getProjectInfo(PathRef File) const override;
DGlobalCompilationDatabase.cpp337 DirectoryBasedGlobalCompilationDatabase::getProjectInfo(PathRef File) const { in getProjectInfo() function in clang::clangd::DirectoryBasedGlobalCompilationDatabase
403 llvm::Optional<ProjectInfo> OverlayCDB::getProjectInfo(PathRef File) const { in getProjectInfo() function in clang::clangd::OverlayCDB
408 return Base->getProjectInfo(File); in getProjectInfo()
DQueryDriverDatabase.cpp347 llvm::Optional<ProjectInfo> getProjectInfo(PathRef File) const override { in getProjectInfo() function in clang::clangd::__anon8bbefaa90111::QueryDriverDatabase
348 return Base->getProjectInfo(File); in getProjectInfo()
DClangdServer.cpp193 [&CDB](llvm::StringRef File) { return CDB.getProjectInfo(File); }), in __anonb0c0fe120902()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DGlobalCompilationDatabaseTests.cpp78 llvm::Optional<ProjectInfo> getProjectInfo(PathRef File) const override { in getProjectInfo() function in clang::clangd::__anon47e7adac0111::OverlayCDBTest::BaseCDB
316 EXPECT_FALSE(DB.getProjectInfo(File)); in TEST()
324 EXPECT_EQ(DB.getProjectInfo(File)->SourceRoot, testRoot()); in TEST_F()
325 EXPECT_EQ(DB.getProjectInfo(Header)->SourceRoot, testRoot()); in TEST_F()
329 EXPECT_EQ(DB.getProjectInfo(File)->SourceRoot, testRoot()); in TEST_F()
330 EXPECT_EQ(DB.getProjectInfo(Header)->SourceRoot, testRoot()); in TEST_F()
DTestFS.h68 llvm::Optional<ProjectInfo> getProjectInfo(PathRef File) const override;
DTestFS.cpp44 MockCompilationDatabase::getProjectInfo(PathRef File) const { in getProjectInfo() function in clang::clangd::MockCompilationDatabase