rsmith accepted this revision. rsmith added a comment. This revision is now accepted and ready to land.
Looks good with one cleanup. ================ Comment at: lib/Frontend/CompilerInvocation.cpp:2177-2178 + if (const Arg *A = Args.getLastArg(OPT_fdigraphs, OPT_fno_digraphs)) + Opts.Digraphs = A->getOption().matches(OPT_fdigraphs) ? 1 : 0; + ---------------- Simplify this to `Opts.Digraphs = Args.hasFlag(OPT_fdigraphs, OPT_fno_diagraphs, Opts.Digraphs);` Repository: rC Clang https://reviews.llvm.org/D48266 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits