Home
last modified time | relevance | path

Searched refs:FixedCompilationDatabase (Results 1 – 5 of 5) sorted by relevance

/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp446 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 …]
DToolingTest.cpp222 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST()
280 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST()
393 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST()
418 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST()
430 FixedCompilationDatabase Compilations("/", std::vector<std::string>()); in TEST()
/external/clang/lib/Tooling/
DCompilationDatabase.cpp283 FixedCompilationDatabase *FixedCompilationDatabase::loadFromCommandLine( in loadFromCommandLine()
294 return new FixedCompilationDatabase(Directory, StrippedArgs); in loadFromCommandLine()
297 FixedCompilationDatabase::
298 FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine) { in FixedCompilationDatabase() function in FixedCompilationDatabase
307 FixedCompilationDatabase::getCompileCommands(StringRef FilePath) const { in getCompileCommands()
315 FixedCompilationDatabase::getAllFiles() const { in getAllFiles()
320 FixedCompilationDatabase::getAllCompileCommands() const { in getAllCompileCommands()
DCommonOptionsParser.cpp119 Compilations.reset(FixedCompilationDatabase::loadFromCommandLine(argc, argv)); in CommonOptionsParser()
138 new FixedCompilationDatabase(".", std::vector<std::string>())); in CommonOptionsParser()
/external/clang/include/clang/Tooling/
DCompilationDatabase.h158 class FixedCompilationDatabase : public CompilationDatabase {
186 static FixedCompilationDatabase *loadFromCommandLine(int &Argc,
192 FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine);