On Mon, Jun 23, 2014 at 6:10 PM, David Blaikie <[email protected]> wrote:

> ================
> Comment at: lib/Frontend/CompilerInvocation.cpp:569
> @@ +568,3 @@
> +      Opts.OptimizationRemarkAnalysisPattern) {
> +    if (Opts.getDebugInfo() == CodeGenOptions::NoDebugInfo)
> +      Opts.setDebugInfo(CodeGenOptions::LocTrackingOnly);
> ----------------
> You could roll these two 'if's together, if you like. (if ((x || y || z)
> && A == B)
>
> Is there some more general check you could do for "OptimizationRemark"
> overall rather than having to check these 3 flags individually (& then have
> to update this ewhenever other similar flags are added?)
>

Done.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to