• Home
  • Raw
  • Download

Lines Matching refs:Argv

823   llvm::SmallVector<const char *, 4> Argv = {"test/test", "-flag_1",  in TEST()  local
830 Saver, llvm::cl::TokenizeGNUCommandLine, Argv, false, true, FS, in TEST()
832 EXPECT_THAT(Argv, testing::Pointwise( in TEST()
883 SmallVector<const char *, 4> Argv = {"test/test", SelfFileRef.c_str(), in TEST() local
893 cl::ExpandResponseFiles(Saver, Tokenizer, Argv, false, false, FS, in TEST()
896 EXPECT_THAT(Argv, in TEST()
924 SmallVector<const char *, 4> Argv = {"test/test"}; in TEST() local
925 Argv.append(NON_RSP_AT_ARGS, "@non_rsp_at_arg"); in TEST()
927 Argv.push_back(ResponseFileRef.c_str()); in TEST()
931 ASSERT_FALSE(cl::ExpandResponseFiles(Saver, cl::TokenizeGNUCommandLine, Argv, in TEST()
936 ASSERT_EQ(Argv.size(), 1 + NON_RSP_AT_ARGS + 2); in TEST()
938 EXPECT_STREQ(Argv[i++], "test/test"); in TEST()
940 EXPECT_STREQ(Argv[i], "@non_rsp_at_arg"); in TEST()
941 EXPECT_STREQ(Argv[i++], "-foo"); in TEST()
942 EXPECT_STREQ(Argv[i++], "-bar"); in TEST()
962 SmallVector<const char *, 2> Argv = {"test/test", "@dir/outer.rsp"}; in TEST() local
966 ASSERT_TRUE(cl::ExpandResponseFiles(Saver, cl::TokenizeGNUCommandLine, Argv, in TEST()
969 EXPECT_THAT(Argv, in TEST()
983 SmallVector<const char *, 2> Argv = {"clang", "@eols.rsp"}; in TEST() local
987 Argv, true, true, FS, in TEST()
991 ASSERT_EQ(array_lengthof(Expected), Argv.size()); in TEST()
994 ASSERT_EQ(Argv[I], nullptr); in TEST()
996 ASSERT_STREQ(Expected[I], Argv[I]); in TEST()
1038 llvm::SmallVector<const char *, 1> Argv; in TEST() local
1071 bool Result = llvm::cl::readConfigFile(ConfigFile.path(), Saver, Argv); in TEST()
1074 EXPECT_EQ(Argv.size(), 4U); in TEST()
1075 EXPECT_STREQ(Argv[0], "-option_1"); in TEST()
1076 EXPECT_STREQ(Argv[1], "-option_2"); in TEST()
1077 EXPECT_STREQ(Argv[2], "-option_3=abcd"); in TEST()
1078 EXPECT_STREQ(Argv[3], "-option_4=cdef"); in TEST()