reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Overrides

tools/clang/tools/extra/clangd/GlobalCompilationDatabase.h
   40   getCompileCommand(PathRef File) const = 0;

Declarations

tools/clang/tools/extra/clangd/GlobalCompilationDatabase.h
  132   getCompileCommand(PathRef File) const override;

References

tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
 1117     auto Old = CDB->getCompileCommand(File);
tools/clang/tools/extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp
   91   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));