[cfe-commits] r126817 - in /cfe/trunk: include/clang/AST/DeclObjC.h include/clang/AST/ExprObjC.h include/clang/Analysis/DomainSpecific/CocoaConventions.h include/clang/Basic/IdentifierTable.h include/clang/StaticAnalyzer/Core/PathSensitive/ObjCMe

John McCall rjmccall at apple.com
Wed Mar 2 13:04:25 PST 2011


On Mar 2, 2011, at 10:38 AM, Matt Beaumont-Gay wrote:
> Unfortunately, GCC's -Wenum-compare doesn't ignore anonymous enums
> like Clang's does ("tools/clang/lib/AST/DeclObjC.cpp: 403: error:
> comparison between 'enum clang::ObjCMethodFamily' and 'enum
> clang::<anonymous>' [-Wenum-compare]"). Would it be OK to make
> InvalidObjCMethodFamily part of the ObjCMethodFamily enum?

No, but I'll fix this in a different way.

John.



More information about the cfe-commits mailing list