r176127 - doxygen command. Add 'attention' command to list of similar
Fariborz Jahanian
fjahanian at apple.com
Tue Feb 26 14:12:16 PST 2013
Author: fjahanian
Date: Tue Feb 26 16:12:16 2013
New Revision: 176127
URL: http://llvm.org/viewvc/llvm-project?rev=176127&view=rev
Log:
doxygen command. Add 'attention' command to list of similar
doxygen commands. // rdar://12379053
Modified:
cfe/trunk/bindings/xml/comment-xml-schema.rng
cfe/trunk/include/clang/AST/CommentCommands.td
cfe/trunk/test/Index/Inputs/CommentXML/valid-para-kind-01.xml
cfe/trunk/tools/libclang/CXComment.cpp
Modified: cfe/trunk/bindings/xml/comment-xml-schema.rng
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/bindings/xml/comment-xml-schema.rng?rev=176127&r1=176126&r2=176127&view=diff
==============================================================================
--- cfe/trunk/bindings/xml/comment-xml-schema.rng (original)
+++ cfe/trunk/bindings/xml/comment-xml-schema.rng Tue Feb 26 16:12:16 2013
@@ -502,6 +502,7 @@
<optional>
<attribute name="kind">
<choice>
+ <value>attention</value>
<value>author</value>
<value>authors</value>
<value>bug</value>
Modified: cfe/trunk/include/clang/AST/CommentCommands.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/CommentCommands.td?rev=176127&r1=176126&r2=176127&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/CommentCommands.td (original)
+++ cfe/trunk/include/clang/AST/CommentCommands.td Tue Feb 26 16:12:16 2013
@@ -102,6 +102,7 @@ def Headerfile : BlockCommand<"headerfil
// We don't do any additional semantic analysis for the following
// BlockCommands. It might be a good idea to do something extra for them, but
// for now we model them as plain BlockCommands.
+def Attention : BlockCommand<"attention">;
def Author : BlockCommand<"author">;
def Authors : BlockCommand<"authors">;
def Bug : BlockCommand<"bug">;
Modified: cfe/trunk/test/Index/Inputs/CommentXML/valid-para-kind-01.xml
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/Inputs/CommentXML/valid-para-kind-01.xml?rev=176127&r1=176126&r2=176127&view=diff
==============================================================================
--- cfe/trunk/test/Index/Inputs/CommentXML/valid-para-kind-01.xml (original)
+++ cfe/trunk/test/Index/Inputs/CommentXML/valid-para-kind-01.xml Tue Feb 26 16:12:16 2013
@@ -4,6 +4,7 @@
<Abstract><Para>Aaa.</Para></Abstract>
<Discussion>
<Para>Bbb</Para>
+ <Para kind="attention">Bbb</Para>
<Para kind="author">Bbb</Para>
<Para kind="authors">Bbb</Para>
<Para kind="bug">Bbb</Para>
Modified: cfe/trunk/tools/libclang/CXComment.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CXComment.cpp?rev=176127&r1=176126&r2=176127&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CXComment.cpp (original)
+++ cfe/trunk/tools/libclang/CXComment.cpp Tue Feb 26 16:12:16 2013
@@ -1034,6 +1034,7 @@ void CommentASTToXMLConverter::visitBloc
StringRef ParagraphKind;
switch (C->getCommandID()) {
+ case CommandTraits::KCI_attention:
case CommandTraits::KCI_author:
case CommandTraits::KCI_authors:
case CommandTraits::KCI_bug:
More information about the cfe-commits
mailing list