Searched refs:FixedCompilationDatabase (Results 1 – 5 of 5) sorted by relevance
/external/clang/unittests/Tooling/ |
D | CompilationDatabaseTest.cpp | 446 TEST(FixedCompilationDatabase, ReturnsFixedCommandLine) { in TEST() argument 450 FixedCompilationDatabase Database(".", CommandLine); in TEST() 464 TEST(FixedCompilationDatabase, GetAllFiles) { in TEST() argument 468 FixedCompilationDatabase Database(".", CommandLine); in TEST() 473 TEST(FixedCompilationDatabase, GetAllCompileCommands) { in TEST() argument 477 FixedCompilationDatabase Database(".", CommandLine); in TEST() 484 std::unique_ptr<FixedCompilationDatabase> Database( in TEST() 485 FixedCompilationDatabase::loadFromCommandLine(Argc, nullptr)); in TEST() 493 std::unique_ptr<FixedCompilationDatabase> Database( in TEST() 494 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST() [all …]
|
D | ToolingTest.cpp | 222 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() 335 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() 448 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() 473 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST() 485 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST()
|
/external/clang/lib/Tooling/ |
D | CompilationDatabase.cpp | 282 FixedCompilationDatabase *FixedCompilationDatabase::loadFromCommandLine( in loadFromCommandLine() 293 return new FixedCompilationDatabase(Directory, StrippedArgs); in loadFromCommandLine() 296 FixedCompilationDatabase:: 297 FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine) { in FixedCompilationDatabase() function in FixedCompilationDatabase 306 FixedCompilationDatabase::getCompileCommands(StringRef FilePath) const { in getCompileCommands() 314 FixedCompilationDatabase::getAllFiles() const { in getAllFiles() 319 FixedCompilationDatabase::getAllCompileCommands() const { in getAllCompileCommands()
|
D | CommonOptionsParser.cpp | 119 Compilations.reset(FixedCompilationDatabase::loadFromCommandLine(argc, argv)); in CommonOptionsParser() 140 new FixedCompilationDatabase(".", std::vector<std::string>())); in CommonOptionsParser()
|
/external/clang/include/clang/Tooling/ |
D | CompilationDatabase.h | 158 class FixedCompilationDatabase : public CompilationDatabase { 186 static FixedCompilationDatabase *loadFromCommandLine(int &Argc, 192 FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine);
|