Removing a spurious comment, no functionality changes.

llvm-svn: 160522
This commit is contained in:
Aaron Ballman 2012-07-19 21:00:48 +00:00
parent 8e082688a1
commit 44475e2771
1 changed files with 0 additions and 5 deletions

View 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()))