Lines Matching defs:Args

171   const char *Args[] = {""};
173 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
182 const char *Args[] = {"-fno-temp-file"};
184 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
193 const char *Args[] = {"-cc1", "-round-trip-args"};
195 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
203 const char *Args[] = {"-cc1", "-no-round-trip-args"};
205 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
213 const char *Args[] = {"-ftemp-file"};
216 ASSERT_FALSE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
225 const char *Args[] = {""};
227 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
236 const char *Args[] = {"-fno-autolink"};
238 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
247 const char *Args[] = {"-fautolink"};
250 ASSERT_FALSE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
259 const char *Args[] = {""};
261 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
270 const char *Args[] = {"-gno-inline-line-tables"};
272 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
281 const char *Args[] = {"-ginline-line-tables"};
284 ASSERT_FALSE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
293 const char *Args[] = {""};
295 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
304 const char *Args[] = {"-gcodeview-ghash"};
306 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
315 const char *Args[] = {"-gno-codeview-ghash"};
318 ASSERT_FALSE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
327 const char *Args = {""};
329 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
339 const char *Args[] = {"-clear-ast-before-backend"};
341 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
350 const char *Args[] = {"-no-clear-ast-before-backend"};
352 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
368 const char *Args[] = {""};
370 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
380 const char *Args[] = {"-fdebug-pass-manager"};
382 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
392 const char *Args[] = {"-fno-debug-pass-manager"};
394 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
404 const char *Args[] = {"-fmodules-strict-context-hash"};
406 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
415 const char *Args[] = {"-triple", TripleCStr};
417 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
427 const char *Args[] = {"-triple", DefaultTriple.c_str()};
429 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
440 const char *Args[] = {""};
442 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
451 const char *Args[] = {"-mrelocation-model", "static"};
453 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
465 const char *Args[] = {"-mrelocation-model", "pic"};
467 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
479 const char *Args[] = {"-fobjc-dispatch-method=non-legacy"};
481 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
494 const char *Args[] = {"-fobjc-dispatch-method=legacy"};
496 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
509 const char *Args[] = {""};
511 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
520 const char *Args[] = {"-fmodule-map-file=a"};
522 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
533 const char *Args[] = {"-fmodule-map-file=a", "-fmodule-map-file=b"};
535 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
549 const char *Args[] = {""};
551 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
561 const char *Args[] = {"-fcomment-block-commands=x,y"};
563 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
574 const char *Args[] = {"-fcomment-block-commands=x,y",
577 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
590 const char *Args[] = {""};
592 CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags);
606 const char *Args[] = {"-sycl-std=2017"};
608 CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags);
623 const char *Args[] = {"-fsycl-is-device", "-sycl-std=garbage"};
625 CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags);
640 const char *Args[] = {"-fsycl-is-device", "-sycl-std=121"};
642 CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags);
657 const char *Args[] = {"-fsycl-is-device", "-sycl-std=1.2.1"};
659 CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags);
674 const char *Args[] = {"-fsycl-is-device", "-sycl-std=sycl-1.2.1"};
676 CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags);
691 const char *Args[] = {"-fsycl-is-host"};
693 CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags);
706 const char *Args[] = {"-fsycl-is-device"};
708 CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags);
721 const char *Args[] = {"-fsycl-is-device", "-sycl-std=2017"};
723 CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags);
737 const char *Args[] = {"-fbuild-session-timestamp=1609827494445723662"};
739 CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags);
755 const char *Args[] = {""};
757 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
775 const char *Args[] = {"-cl-unsafe-math-optimizations"};
777 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
798 const char *Args[] = {"-cl-unsafe-math-optimizations", "-cl-mad-enable",
801 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
819 const char *Args[] = {"-cl-mad-enable", "-funsafe-math-optimizations",
822 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
840 const char *Args[] = {"-cl-mad-enable", "-funsafe-math-optimizations"};
842 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
854 const char *Args[] = {"-verify=xyz"};
856 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
869 const char *Args[] = {""};
871 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
880 const char *Args[] = {"-fno-digraphs"};
882 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
891 const char *Args[] = {"-std=c89"};
893 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
902 const char *Args[] = {"-std=c89", "-fdigraphs"};
904 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
937 const char *Args[] = {"-ftest-module-file-extension=first:2:1:0:first",
940 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
964 const char *Args[] = {
1008 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
1043 const char *Args[] = {
1050 ASSERT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
1054 const char *Args[] = {"--warning-suppression-mappings=foo.txt"};
1056 EXPECT_TRUE(CompilerInvocation::CreateFromArgs(Invocation, Args, *Diags));
1061 EXPECT_THAT(GeneratedArgs, Contains(StrEq(Args[0])));