[PATCH] D52248: [SEMA] ignore duplicate declaration specifiers from typeof exprs

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 25 10:25:19 PDT 2018


nickdesaulniers added a comment.

> Should GCC instead warn for the typedef case for -std=c89 (non pedantic), according to C90 6.5.3?

Seems like yes: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80868#c6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87435
But let's wait a bit to see what the GCC folks say.  If the newer bug doesn't get closed, then I need to rework this patch.


Repository:
  rC Clang

https://reviews.llvm.org/D52248





More information about the cfe-commits mailing list