[cfe-commits] r62245 - in /cfe/trunk: lib/Sema/CMakeLists.txt lib/Sema/IdentifierResolver.h lib/Sema/Sema.h lib/Sema/SemaCXXScopeSpec.cpp lib/Sema/SemaDecl.cpp lib/Sema/SemaDeclCXX.cpp lib/Sema/SemaExpr.cpp lib/Sema/SemaExprCXX.cpp lib/Sema/SemaL

Sebastian Redl sebastian.redl at getdesigned.at
Fri Jan 16 14:47:23 PST 2009


Douglas Gregor wrote:
> Can anyone point out a flaw in the code under discussion? It will  
> produce the appropriate warnings if we miss an enumerator, and it  
> doesn't seem to trigger any additional warnings under any particular  
> compiler or compilation flags. It's not broken, so why are we trying  
> to fix it?
>   

The real question is, should we change other places to do it the same
way? Should we adopt it as our new policy?

Or does the existing policy mean that your code should change for the
sake of uniformity?

Sebastian



More information about the cfe-commits mailing list