summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/CommentOptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/CommentOptions.h')
-rw-r--r--include/clang/Basic/CommentOptions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Basic/CommentOptions.h b/include/clang/Basic/CommentOptions.h
index 79b9a6b..7991875 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
OpenPOWER on IntegriCloud