Home
last modified time | relevance | path

Searched refs:Argc (Results 1 – 3 of 3) sorted by relevance

/external/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp483 int Argc = 0; in TEST() local
485 FixedCompilationDatabase::loadFromCommandLine(Argc, nullptr)); in TEST()
487 EXPECT_EQ(0, Argc); in TEST()
491 int Argc = 2; in TEST() local
494 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST()
496 EXPECT_EQ(2, Argc); in TEST()
500 int Argc = 5; in TEST() local
505 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv)); in TEST()
517 EXPECT_EQ(2, Argc); in TEST()
521 int Argc = 3; in TEST() local
[all …]
/external/clang/lib/Tooling/
DCompilationDatabase.cpp284 int &Argc, const char *const *Argv, Twine Directory) { in loadFromCommandLine() argument
285 const char *const *DoubleDash = std::find(Argv, Argv + Argc, StringRef("--")); in loadFromCommandLine()
286 if (DoubleDash == Argv + Argc) in loadFromCommandLine()
288 std::vector<const char *> CommandLine(DoubleDash + 1, Argv + Argc); in loadFromCommandLine()
289 Argc = DoubleDash - Argv; in loadFromCommandLine()
/external/clang/include/clang/Tooling/
DCompilationDatabase.h186 static FixedCompilationDatabase *loadFromCommandLine(int &Argc,