[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
matthewbg at google.com
Wed Mar 2 13:08:31 PST 2011
On Wed, Mar 2, 2011 at 13:04, John McCall <rjmccall at apple.com> wrote:
> 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.
More information about the cfe-commits