[PATCH] Flag Enumerator Attribute
Sean Hunt
scshunt at csclub.uwaterloo.ca
Sun Nov 2 08:47:49 PST 2014
On Fri, Oct 17, 2014 at 8:30 PM, Sean Hunt <scshunt at csclub.uwaterloo.ca> wrote:
> This patch introduces a new attribute, `flag_enum`, which indicates to the compiler that an enumerator is a flag type. Compiler warnings about the range of values are adjusted accordingly.
>
> http://reviews.llvm.org/D5853
>
> Files:
> include/clang/AST/Decl.h
> include/clang/Basic/Attr.td
> include/clang/Basic/AttrDocs.td
> include/clang/Basic/DiagnosticGroups.td
> include/clang/Basic/DiagnosticSemaKinds.td
> include/clang/Sema/AttributeList.h
> include/clang/Sema/Sema.h
> lib/Sema/SemaDecl.cpp
> lib/Sema/SemaDeclAttr.cpp
> lib/Sema/SemaStmt.cpp
> utils/TableGen/ClangAttrEmitter.cpp
Is there anyone able to look at this?
Thanks,
Sean
More information about the cfe-commits
mailing list