Lines Matching refs:Argv
579 const char *Argv[] = { "1", "2" }; in TEST() local
582 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv, ErrorMsg)); in TEST()
590 const char *Argv[] = { in TEST() local
595 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv, ErrorMsg)); in TEST()
609 const char *Argv[] = { "1", "2", "--\0no-constant-folding" }; in TEST() local
612 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv, ErrorMsg); in TEST()
625 const char *Argv[] = {"1", "2", "--", "-c", "somefile.cpp", "-DDEF3"}; in TEST() local
626 int Argc = sizeof(Argv) / sizeof(char*); in TEST()
629 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv, ErrorMsg); in TEST()
644 const char *Argv[] = {"--", "somefile.cpp", "-fsyntax-only", "-DDEF3"}; in TEST() local
645 int Argc = llvm::array_lengthof(Argv); in TEST()
648 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv, ErrorMessage); in TEST()
660 const char *Argv[] = {"1", "2", "--", "mytool", "somefile.cpp"}; in TEST() local
661 int Argc = sizeof(Argv) / sizeof(char*); in TEST()
664 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv, ErrorMsg); in TEST()
700 SmallVector<StringRef, 8> Argv = {Clang, File, "-D", File}; in add() local
701 llvm::SplitString(Flags, Argv); in add()
707 {Dir, path(File), {Argv.begin(), Argv.end()}, "foo.o"}); in add()