• Home
  • Raw
  • Download

Lines Matching refs:Database

51   std::unique_ptr<CompilationDatabase> Database(  in getAllFiles()  local
53 if (!Database) { in getAllFiles()
57 return Database->getAllFiles(); in getAllFiles()
62 std::unique_ptr<CompilationDatabase> Database( in getAllCompileCommands() local
64 if (!Database) { in getAllCompileCommands()
68 return Database->getAllCompileCommands(); in getAllCompileCommands()
145 std::unique_ptr<CompilationDatabase> Database( in findCompileArgsInJsonDatabase() local
147 if (!Database) in findCompileArgsInJsonDatabase()
149 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName); in findCompileArgsInJsonDatabase()
450 FixedCompilationDatabase Database(".", CommandLine); in TEST() local
453 Database.getCompileCommands(FileName); in TEST()
468 FixedCompilationDatabase Database(".", CommandLine); in TEST() local
470 EXPECT_EQ(0ul, Database.getAllFiles().size()); in TEST()
477 FixedCompilationDatabase Database(".", CommandLine); in TEST() local
479 EXPECT_EQ(0ul, Database.getAllCompileCommands().size()); in TEST()
484 std::unique_ptr<FixedCompilationDatabase> Database( in TEST() local
486 EXPECT_FALSE(Database); in TEST()
493 std::unique_ptr<FixedCompilationDatabase> Database( in TEST() local
495 EXPECT_FALSE(Database); in TEST()
504 std::unique_ptr<FixedCompilationDatabase> Database( in TEST() local
506 ASSERT_TRUE((bool)Database); in TEST()
508 Database->getCompileCommands("source"); in TEST()
523 std::unique_ptr<FixedCompilationDatabase> Database( in TEST() local
525 ASSERT_TRUE((bool)Database); in TEST()
527 Database->getCompileCommands("source"); in TEST()
540 std::unique_ptr<FixedCompilationDatabase> Database( in TEST() local
542 ASSERT_TRUE((bool)Database); in TEST()
544 Database->getCompileCommands("source"); in TEST()
559 std::unique_ptr<FixedCompilationDatabase> Database( in TEST() local
561 ASSERT_TRUE((bool)Database); in TEST()
563 Database->getCompileCommands("source"); in TEST()