From: Aaron Ballman Date: Thu, 19 Jul 2012 21:00:48 +0000 (+0000) Subject: Removing a spurious comment, no functionality changes. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d9cf5097e5f7907c1d2b042cc5d0e4377a4f156;p=clang Removing a spurious comment, no functionality changes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160522 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 6c6aeb1ab1..4ea8df8b66 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -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( TheEnumDecl->getDeclContext()->getRedeclContext()))