On Sat, Jun 29, 2013 at 11:23 PM, Lubos Lunak <[email protected]> wrote:

>
>  Hello,
>
>  could somebody please review and commit the atached patch for pr12463?
> Thank
> you.
>
> +    bool InMacro = LHS.get()->getLocStart().isMacroID() ||
+                   RHS.get()->getLocStart().isMacroID();

Why not just check the source location of the operator itself?  It seems
like we want to diagnose "MYMACRO1 == MYMACRO2".

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

Reply via email to