Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/unittests/
DGlobalCompilationDatabaseTests.cpp67 getCompileCommand(llvm::StringRef File) const override { in getCompileCommand() function in clang::clangd::__anon47e7adac0111::OverlayCDBTest::BaseCDB
90 EXPECT_THAT(CDB.getCompileCommand(testPath("foo.cc"))->CommandLine, in TEST_F()
92 EXPECT_EQ(CDB.getCompileCommand(testPath("missing.cc")), llvm::None); in TEST_F()
96 EXPECT_THAT(CDB.getCompileCommand(testPath("foo.cc"))->CommandLine, in TEST_F()
98 EXPECT_EQ(CDB.getCompileCommand(testPath("missing.cc")), llvm::None); in TEST_F()
100 EXPECT_THAT(CDB.getCompileCommand(testPath("missing.cc"))->CommandLine, in TEST_F()
112 EXPECT_EQ(CDB.getCompileCommand(testPath("bar.cc")), None); in TEST_F()
115 EXPECT_THAT(CDB.getCompileCommand(testPath("bar.cc"))->CommandLine, in TEST_F()
148 auto Cmd = CDB.getCompileCommand(testPath("foo.cc")).getValue(); in TEST_F()
157 Cmd = CDB.getCompileCommand(testPath("bar.cc")).getValue(); in TEST_F()
[all …]
DHeadersTests.cpp46 auto Cmd = CDB.getCompileCommand(MainFile); in setupClang()
97 CDB.getCompileCommand(MainFile)->Directory,
116 CDB.getCompileCommand(MainFile)->Directory, in insert()
DTestFS.h66 getCompileCommand(PathRef File) const override;
DTestFS.cpp49 MockCompilationDatabase::getCompileCommand(PathRef File) const { in getCompileCommand() function in clang::clangd::MockCompilationDatabase
DClangdTests.cpp1116 getCompileCommand(PathRef File) const override { in TEST() function in clang::clangd::__anonb2fa5d700111::TEST::DelayedCompilationDatabase
DTUSchedulerTests.cpp88 Inputs.CompileCommand = *CDB.getCompileCommand(File); in getInputs()
/external/llvm-project/clang-tools-extra/clangd/
DGlobalCompilationDatabase.h41 getCompileCommand(PathRef File) const = 0;
77 getCompileCommand(PathRef File) const override;
132 getCompileCommand(PathRef File) const override;
DGlobalCompilationDatabase.cpp179 DirectoryBasedGlobalCompilationDatabase::getCompileCommand(PathRef File) const { in getCompileCommand() function in clang::clangd::DirectoryBasedGlobalCompilationDatabase
359 OverlayCDB::getCompileCommand(PathRef File) const { in getCompileCommand() function in clang::clangd::OverlayCDB
368 Cmd = Base->getCompileCommand(File); in getCompileCommand()
DQueryDriverDatabase.cpp311 getCompileCommand(PathRef File) const override { in getCompileCommand() function in clang::clangd::__anon8bbefaa90111::QueryDriverDatabase
312 auto Cmd = Base->getCompileCommand(File); in getCompileCommand()
DTUScheduler.cpp609 if (auto Cmd = CDB.getCompileCommand(FileName)) in update()
DClangdLSPServer.cpp1254 auto Old = CDB->getCompileCommand(File); in applyConfiguration()
/external/llvm-project/clang-tools-extra/clangd/tool/
DCheck.cpp107 if (auto TrueCmd = CDB->getCompileCommand(File)) { in buildCommand()
/external/llvm-project/clang-tools-extra/clangd/index/
DBackground.cpp163 auto Cmd = CDB.getCompileCommand(Path); in indexFileTask()