summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/attr-flag-enum.c
Commit message (Collapse)AuthorAgeFilesLines
* Update tests touched by r249656David Majnemer2015-10-081-1/+1
| | | | | | | | | These test updates almost exclusively around the change in behavior around enum: enums without a definition are considered incomplete except when targeting MSVC ABIs. Since these tests are interested in the 'incomplete-enum' behavior, restrict them to %itanium_abi_triple. llvm-svn: 249660
* Create a new 'flag_enum' attribute.Alexis Hunt2014-11-281-0/+73
This attribute serves as a hint to improve warnings about the ranges of enumerators used as flag types. It currently has no working C++ implementation due to different semantics for enums in C++. For more explanation, see the docs and testcases. Reviewed by Aaron Ballman. llvm-svn: 222906
OpenPOWER on IntegriCloud