[PATCH] D52248: [SEMA] ignore duplicate declaration specifiers from typeof exprs
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 25 11:44:15 PDT 2018
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
More information about the cfe-commits
mailing list