forked from OSchip/llvm-project
Removing a spurious comment, no functionality changes.
llvm-svn: 160522
This commit is contained in:
parent
8e082688a1
commit
44475e2771
|
@ -10411,11 +10411,6 @@ Decl *Sema::ActOnEnumConstant(Scope *S, Decl *theEnumDecl, Decl *lastEnumConst,
|
||||||
// different from T:
|
// different from T:
|
||||||
// - every enumerator of every member of class T that is an unscoped
|
// - every enumerator of every member of class T that is an unscoped
|
||||||
// enumerated type
|
// 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
|
if (CXXRecordDecl *Record
|
||||||
= dyn_cast<CXXRecordDecl>(
|
= dyn_cast<CXXRecordDecl>(
|
||||||
TheEnumDecl->getDeclContext()->getRedeclContext()))
|
TheEnumDecl->getDeclContext()->getRedeclContext()))
|
||||||
|
|
Loading…
Reference in New Issue