Home | History | Annotate | Download | only in Tooling

Lines Matching refs:Database

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