Lines Matching refs:Args
144 std::vector<std::string> Args;
145 Args.push_back("tool-executable");
146 Args.push_back("-Idef");
147 Args.push_back("-fsyntax-only");
148 Args.push_back("test.cpp");
149 clang::tooling::ToolInvocation Invocation(Args, new SyntaxOnlyAction,
163 std::vector<std::string> Args;
164 Args.push_back("tool-executable");
165 Args.push_back("-Idef");
166 Args.push_back("-fsyntax-only");
167 Args.push_back("test.cpp");
168 clang::tooling::ToolInvocation Invocation(Args, new SyntaxOnlyAction,
246 std::vector<std::string> Args;
247 Args.push_back("-MMD");
248 Args.push_back("-MT");
249 Args.push_back(DepFilePath.str());
250 Args.push_back("-MF");
251 Args.push_back(DepFilePath.str());
252 EXPECT_TRUE(runToolOnCodeWithArgs(new SkipBodyAction, "", Args));
264 Adjust(const CommandLineArguments &Args) override {
266 for (unsigned I = 0, E = Args.size(); I != E; ++I) {
267 if (Args[I] == "-fsyntax-only") {
272 return Args;