diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-04-10 15:35:17 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-04-10 15:35:17 +0000 |
commit | 6fd7d3067dd06584ef3940e88e31fea1a0e83588 (patch) | |
tree | 30b2a0027f55979566b402c74cd329e8533d324d /include/clang/Basic | |
parent | 423dd93c8011aa8bca9b761b0b121ea8bce0fd03 (diff) |
Add an option to parse all comments as documentation comments
Patch by Amin Shali.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179180 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r-- | include/clang/Basic/CommentOptions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Basic/CommentOptions.h b/include/clang/Basic/CommentOptions.h index 79b9a6b883..7991875838 100644 --- a/include/clang/Basic/CommentOptions.h +++ b/include/clang/Basic/CommentOptions.h @@ -27,6 +27,11 @@ struct CommentOptions { /// \brief Command names to treat as block commands in comments. /// Should not include the leading backslash. BlockCommandNamesTy BlockCommandNames; + + /// \brief Treat ordinary comments as documentation comments. + bool ParseAllComments; + + CommentOptions() : ParseAllComments(false) { } }; } // end namespace clang |