reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
40 getCompileCommand(PathRef File) const = 0;
132 getCompileCommand(PathRef File) const override;
1117 auto Old = CDB->getCompileCommand(File);
tools/clang/tools/extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp91 EXPECT_THAT(CDB.getCompileCommand(testPath("foo.cc"))->CommandLine, 93 EXPECT_EQ(CDB.getCompileCommand(testPath("missing.cc")), llvm::None); 97 EXPECT_THAT(CDB.getCompileCommand(testPath("foo.cc"))->CommandLine, 99 EXPECT_EQ(CDB.getCompileCommand(testPath("missing.cc")), llvm::None); 101 EXPECT_THAT(CDB.getCompileCommand(testPath("missing.cc"))->CommandLine, 114 EXPECT_EQ(CDB.getCompileCommand(testPath("bar.cc")), None); 117 EXPECT_THAT(CDB.getCompileCommand(testPath("bar.cc"))->CommandLine, 144 auto Cmd = CDB.getCompileCommand(testPath("foo.cc")).getValue(); 163 EXPECT_THAT(CDB.getCompileCommand(testPath("foo.cc"))->CommandLine, 305 EXPECT_TRUE(DB.getCompileCommand(File));