commit | cff339a60a571a606a7510548f661dc6a719368d | [log] [tgz] |
---|---|---|
author | Dmitri Gribenko <gribozavr@gmail.com> | Tue Aug 07 18:59:04 2012 +0000 |
committer | Dmitri Gribenko <gribozavr@gmail.com> | Tue Aug 07 18:59:04 2012 +0000 |
tree | 3abed613ae0b8025332a5c40918ebb696aa4695a | |
parent | d43e114291eed272f8d7b735d3d1c4ca4cd04986 [diff] [blame] |
Comment AST: DeclInfo: add a special kind for enums. Comment XML: add a root node kind for enums. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161442 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/libclang/CXComment.cpp b/tools/libclang/CXComment.cpp index acb4353..4e7bf76 100644 --- a/tools/libclang/CXComment.cpp +++ b/tools/libclang/CXComment.cpp
@@ -1065,6 +1065,10 @@ RootEndTag = "</Typedef>"; Result << "<Typedef"; break; + case DeclInfo::EnumKind: + RootEndTag = "</Enum>"; + Result << "<Enum"; + break; } {