Home
last modified time | relevance | path

Searched refs:getCompileCommand (Results 1 – 12 of 12) sorted by relevance

/llvm-project/clang-tools-extra/clangd/unittests/
H A DGlobalCompilationDatabaseTests.cpp67 getCompileCommand(llvm::StringRef File) const override { in getCompileCommand() function in clang::clangd::__anon87eb63680111::OverlayCDBTest::BaseCDB
90 EXPECT_THAT(CDB.getCompileCommand(testPath("foo.cc"))->CommandLine, in TEST_F()
92 EXPECT_EQ(CDB.getCompileCommand(testPath("missing.cc")), std::nullopt); in TEST_F()
97 EXPECT_THAT(CDB.getCompileCommand(testPath("foo.cc"))->CommandLine, in TEST_F()
99 EXPECT_EQ(CDB.getCompileCommand(testPath("missing.cc")), std::nullopt); in TEST_F()
102 EXPECT_THAT(CDB.getCompileCommand(testPath("missing.cc"))->CommandLine, in TEST_F()
114 EXPECT_EQ(CDB.getCompileCommand(testPath("bar.cc")), std::nullopt); in TEST_F()
117 EXPECT_THAT(CDB.getCompileCommand(testPath("bar.cc"))->CommandLine, in TEST_F()
148 auto Cmd = *CDB.getCompileCommand(testPath("foo.cc")); in TEST_F()
157 Cmd = *CDB.getCompileCommand(testPat in TEST_F()
[all...]
H A DHeadersTests.cpp51 auto Cmd = CDB.getCompileCommand(MainFile); in setupClang()
109 CDB.getCompileCommand(MainFile)->Directory,
130 CDB.getCompileCommand(MainFile)->Directory, in insert()
H A DTestFS.h64 getCompileCommand(PathRef File) const override;
H A DTestFS.cpp60 MockCompilationDatabase::getCompileCommand(PathRef File) const { in getCompileCommand() function in clang::clangd::MockCompilationDatabase
H A DTUSchedulerTests.cpp99 Inputs.CompileCommand = *CDB.getCompileCommand(File); in getInputs()
1333 getCompileCommand(PathRef File) const override { in TEST_F() function
H A DClangdTests.cpp1116 getCompileCommand(PathRef File) const override { in TEST()
1115 getCompileCommand(PathRef File) const override { TEST() function in clang::clangd::__anon8f9894ac0111::TEST::DelayedCompilationDatabase
/llvm-project/clang-tools-extra/clangd/
H A DGlobalCompilationDatabase.h42 getCompileCommand(PathRef File) const = 0;
82 getCompileCommand(PathRef File) const override;
129 getCompileCommand(PathRef File) const override;
202 getCompileCommand(PathRef File) const override;
H A DGlobalCompilationDatabase.cpp363 DirectoryBasedGlobalCompilationDatabase::getCompileCommand(PathRef File) const { in getCompileCommand()
767 OverlayCDB::getCompileCommand(PathRef File) const { in getCompileCommand()
792 Cmd = DelegatingCDB::getCompileCommand(File); in getFallbackCommand()
857 DelegatingCDB::getCompileCommand(PathRef File) const {
860 return Base->getCompileCommand(File);
361 DirectoryBasedGlobalCompilationDatabase::getCompileCommand(PathRef File) const { getCompileCommand() function in clang::clangd::DirectoryBasedGlobalCompilationDatabase
751 OverlayCDB::getCompileCommand(PathRef File) const { getCompileCommand() function in clang::clangd::OverlayCDB
824 DelegatingCDB::getCompileCommand(PathRef File) const { getCompileCommand() function in clang::clangd::DelegatingCDB
H A DTUScheduler.cpp872 auto Cmd = CDB.getCompileCommand(FileName); in update()
878 auto ProxyCmd = CDB.getCompileCommand(ProxyFile); in update()
H A DClangdLSPServer.cpp
/llvm-project/clang-tools-extra/clangd/index/
H A DBackground.cpp165 auto Cmd = CDB.getCompileCommand(Path); in indexFileTask()
/llvm-project/clang-tools-extra/clangd/tool/
H A DCheck.cpp184 if (auto TrueCmd = CDB->getCompileCommand(File)) { in buildCommand()