commit | dd7b803e6ce5b8e61cf3b14af2c57199e5e991d9 | [log] [tgz] |
---|---|---|
author | Dmitri Gribenko <gribozavr@gmail.com> | Tue Aug 07 18:12:22 2012 +0000 |
committer | Dmitri Gribenko <gribozavr@gmail.com> | Tue Aug 07 18:12:22 2012 +0000 |
tree | 6a15c30352c60e94cfdadae166c464535f240857 | |
parent | f303d4cb10648ac9c2080ae7c9dd507ba615e3a7 [diff] [blame] |
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
diff --git a/lib/AST/Comment.cpp b/lib/AST/Comment.cpp index 96b09d0..de569d5 100644 --- a/lib/AST/Comment.cpp +++ b/lib/AST/Comment.cpp
@@ -232,6 +232,7 @@ break; case Decl::Var: case Decl::Field: + case Decl::EnumConstant: case Decl::ObjCIvar: case Decl::ObjCAtDefsField: Kind = VariableKind;