rsmith added a comment.

The right way to produce diagnostics under pedantic mode is to model them as 
Extension or ExtWarn in the .td file, not by checking the Pedantic diagnostic 
option directly. If this is an intentional GNU extension too, that makes things 
a bit more complex (one approach would be to have two diagnostics, one for 
"this is ill-formed" and another for "this is a GNU extension").


Repository:
  rC Clang

https://reviews.llvm.org/D52248



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

Reply via email to