Lines Matching refs:Database

58   std::unique_ptr<CompilationDatabase> Database(  in getAllFiles()  local
61 if (!Database) { in getAllFiles()
65 return Database->getAllFiles(); in getAllFiles()
71 std::unique_ptr<CompilationDatabase> Database( in getAllCompileCommands() local
74 if (!Database) { in getAllCompileCommands()
78 return Database->getAllCompileCommands(); in getAllCompileCommands()
177 std::unique_ptr<CompilationDatabase> Database( in findCompileArgsInJsonDatabase() local
180 if (!Database) in findCompileArgsInJsonDatabase()
184 std::vector<CompileCommand> Commands = Database->getCompileCommands(FileName); in findCompileArgsInJsonDatabase()
517 FixedCompilationDatabase Database(".", /*CommandLine*/ {"one", "two"}); in TEST() local
520 Database.getCompileCommands(FileName); in TEST()
532 FixedCompilationDatabase Database(".", CommandLine); in TEST() local
534 EXPECT_EQ(0ul, Database.getAllFiles().size()); in TEST()
541 FixedCompilationDatabase Database(".", CommandLine); in TEST() local
543 EXPECT_EQ(0ul, Database.getAllCompileCommands().size()); in TEST()
570 std::unique_ptr<FixedCompilationDatabase> Database = in TEST() local
572 EXPECT_FALSE(Database); in TEST()
581 std::unique_ptr<FixedCompilationDatabase> Database( in TEST() local
583 EXPECT_FALSE(Database); in TEST()
594 std::unique_ptr<FixedCompilationDatabase> Database( in TEST() local
596 ASSERT_TRUE((bool)Database); in TEST()
599 Database->getCompileCommands("source"); in TEST()
611 std::unique_ptr<FixedCompilationDatabase> Database = in TEST() local
613 ASSERT_TRUE((bool)Database); in TEST()
616 Database->getCompileCommands("source"); in TEST()
628 std::unique_ptr<FixedCompilationDatabase> Database = in TEST() local
630 ASSERT_TRUE((bool)Database); in TEST()
633 Database->getCompileCommands("source"); in TEST()
647 std::unique_ptr<CompilationDatabase> Database = in TEST() local
649 ASSERT_TRUE((bool)Database); in TEST()
651 std::vector<CompileCommand> Result = Database->getCompileCommands("source"); in TEST()
663 std::unique_ptr<FixedCompilationDatabase> Database = in TEST() local
665 ASSERT_TRUE((bool)Database); in TEST()
668 Database->getCompileCommands("source"); in TEST()