]> granicus.if.org Git - clang/commitdiff
Removing a spurious comment, no functionality changes.
authorAaron Ballman <aaron@aaronballman.com>
Thu, 19 Jul 2012 21:00:48 +0000 (21:00 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 19 Jul 2012 21:00:48 +0000 (21:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160522 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDecl.cpp

index 6c6aeb1ab146fe87ccdd9421739322bec0d0a4d4..4ea8df8b661bb4e57a6070d1a7939e304ef61c32 100644 (file)
@@ -10411,11 +10411,6 @@ Decl *Sema::ActOnEnumConstant(Scope *S, Decl *theEnumDecl, Decl *lastEnumConst,
   // 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()))