[cfe-commits] r160522 - /cfe/trunk/lib/Sema/SemaDecl.cpp

Aaron Ballman aaron at aaronballman.com
Thu Jul 19 14:00:48 PDT 2012


Author: aaronballman
Date: Thu Jul 19 16:00:48 2012
New Revision: 160522

URL: http://llvm.org/viewvc/llvm-project?rev=160522&view=rev
Log:
Removing a spurious comment, no functionality changes.

Modified:
    cfe/trunk/lib/Sema/SemaDecl.cpp

Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=160522&r1=160521&r2=160522&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Thu Jul 19 16:00:48 2012
@@ -10411,11 +10411,6 @@
   // different from T:
   // - every enumerator of every member of class T that is an unscoped 
   // enumerated type
-  //
-  // C++ [dcl.enum]p10:
-  // Each enum-name and each unscoped enumerator is declared in the scope that 
-  // immediately contains the enum-specifier. Each scoped enumerator is declared 
-  // in the scope of the enumeration.
   if (CXXRecordDecl *Record
                       = dyn_cast<CXXRecordDecl>(
                              TheEnumDecl->getDeclContext()->getRedeclContext()))





More information about the cfe-commits mailing list