aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/RawCommentList.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/RawCommentList.h')
-rw-r--r--include/clang/AST/RawCommentList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/RawCommentList.h b/include/clang/AST/RawCommentList.h
index 7e8bf044c1..84a6e96fa0 100644
--- a/include/clang/AST/RawCommentList.h
+++ b/include/clang/AST/RawCommentList.h
@@ -89,7 +89,7 @@ public:
/// Returns true if this comment any kind of a documentation comment.
bool isDocumentation() const LLVM_READONLY {
- return !isInvalid() && (!isOrdinary() || ParseAllComments);
+ return !isInvalid() && !isOrdinary();
}
/// Returns whether we are parsing all comments.