diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-09 17:33:20 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-08-09 17:33:20 +0000 |
commit | d1db12540e572d6e3d998a4b770a6b2c7267d7fc (patch) | |
tree | e3941c77cb841a80057688c62a0cf190344447c5 /include/clang/AST/CommentCommandTraits.h | |
parent | be3d0dbf2e8d2f93191ff4c023dd3bbf8f859d5a (diff) |
Comment to HTML and XML conversion: use CommandTraits to classify commands.
This also fixes a bug in comment to XML conversion: \result was just an
ordinary paragraph, not an alias for \returns.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/CommentCommandTraits.h')
-rw-r--r-- | include/clang/AST/CommentCommandTraits.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/AST/CommentCommandTraits.h b/include/clang/AST/CommentCommandTraits.h index 85f2d82a4c..91ce1fd6dd 100644 --- a/include/clang/AST/CommentCommandTraits.h +++ b/include/clang/AST/CommentCommandTraits.h @@ -28,6 +28,8 @@ namespace comments { /// in comments. class CommandTraits { public: + CommandTraits() { } + /// \brief Check if a given command is a verbatim-like block command. /// /// A verbatim-like block command eats every character (except line starting |