mibintc added a comment.

BTW I tried a couple different approaches to suppress the message.

One of them was to call IgnoreParenImpCasts().  This worked great to suppress 
the unwanted diagnostic but the call also inhibited constant folding and dead 
code elimination, so there were many test failures.  I couldn't find any 
documentation about when and where a call to IgnoreParenImpCasts is 
appropriate.  Use with care.


https://reviews.llvm.org/D26636



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to