summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/fixed-enum.c
Commit message (Collapse)AuthorAgeFilesLines
* [Sema] Suppress a warning about a forward-declared fixed enum in C modeErik Pilkington2019-01-181-1/+22
| | | | | | | | | | | | | | | As of r343360, we support fixed-enums in C. This lead to some warnings in project headers where a fixed enum is forward declared then later defined. In C++, this is fine, the forward declaration is treated as a complete type even though the definition isn't present. We use this rule in C too, but still warn about the forward declaration anyways. This patch suppresses the warning. rdar://problem/47356469 Differential revision: https://reviews.llvm.org/D56879 llvm-svn: 351595
* Support enums with a fixed underlying type in all language modes.Erik Pilkington2018-09-281-0/+18
Previously we supported these in C++, ObjC, and C with -fms-extensions. rdar://43831380 Differential revision: https://reviews.llvm.org/D52339 llvm-svn: 343360
OpenPOWER on IntegriCloud