aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2012-07-19 21:00:48 +0000
committerAaron Ballman <aaron@aaronballman.com>2012-07-19 21:00:48 +0000
commit9d9cf5097e5f7907c1d2b042cc5d0e4377a4f156 (patch)
treefbeec4f6a50b878d77f8b590dbf00d7e0c063819 /lib
parentad29b2bbb72b57fa823a1217d70e4173fa33fc08 (diff)
Removing a spurious comment, no functionality changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Sema/SemaDecl.cpp5
1 files changed, 0 insertions, 5 deletions
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<CXXRecordDecl>(
TheEnumDecl->getDeclContext()->getRedeclContext()))