On 2014 Apr 25, at 00:20, Justin Bogner <[email protected]> wrote:

> @@ -803,7 +803,7 @@ void CodeGenPGO::assignRegionCounters(co
>   llvm::IndexedInstrProfReader *PGOReader = CGM.getPGOReader();
>   if (!InstrumentRegions && !PGOReader)
>     return;
> -  if (!D)
> +  if (D->isImplicit())
>     return;

If `D` is never `nullptr`, should it be passed by reference instead?
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to