aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/CommentCommandTraits.h
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-09-13 20:36:01 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-09-13 20:36:01 +0000
commitabcf0dccc9cd4c802f4e7797bf452c6808d2226f (patch)
tree7a950299eccacee691c4265483b05e3662a1b448 /include/clang/AST/CommentCommandTraits.h
parent9fb6f7939c4b76b444b7f7b2761b130e7709ac08 (diff)
Comment parsing: handle \deprecated command. It is a block command, but it
should be fine to use it without further explanations in the attached paragraph, so the warning about empty paragraph was turned off for it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/CommentCommandTraits.h')
-rw-r--r--include/clang/AST/CommentCommandTraits.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/AST/CommentCommandTraits.h b/include/clang/AST/CommentCommandTraits.h
index 07d9a489e3..73ded54a31 100644
--- a/include/clang/AST/CommentCommandTraits.h
+++ b/include/clang/AST/CommentCommandTraits.h
@@ -66,6 +66,10 @@ struct CommandInfo {
/// a template parameter (\\tparam or an alias).
unsigned IsTParamCommand : 1;
+ /// True if we don't want to warn about this command being passed an empty
+ /// paragraph. Meaningful only for block commands.
+ unsigned IsEmptyParagraphAllowed : 1;
+
/// \brief True if this command is a verbatim-like block command.
///
/// A verbatim-like block command eats every character (except line starting