aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Comment.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-08-07 18:12:22 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-08-07 18:12:22 +0000
commitdd7b803e6ce5b8e61cf3b14af2c57199e5e991d9 (patch)
tree6a15c30352c60e94cfdadae166c464535f240857 /lib/AST/Comment.cpp
parentf303d4cb10648ac9c2080ae7c9dd507ba615e3a7 (diff)
Comment AST: treat enumerators as "variables" in DeclInfo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Comment.cpp')
-rw-r--r--lib/AST/Comment.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/Comment.cpp b/lib/AST/Comment.cpp
index 96b09d0e38..de569d5276 100644
--- a/lib/AST/Comment.cpp
+++ b/lib/AST/Comment.cpp
@@ -232,6 +232,7 @@ void DeclInfo::fill() {
break;
case Decl::Var:
case Decl::Field:
+ case Decl::EnumConstant:
case Decl::ObjCIvar:
case Decl::ObjCAtDefsField:
Kind = VariableKind;