diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-07 18:12:22 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-07 18:12:22 +0000 |
commit | dd7b803e6ce5b8e61cf3b14af2c57199e5e991d9 (patch) | |
tree | 6a15c30352c60e94cfdadae166c464535f240857 /lib/AST/Comment.cpp | |
parent | f303d4cb10648ac9c2080ae7c9dd507ba615e3a7 (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.cpp | 1 |
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; |