diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-04-10 18:43:09 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-04-10 18:43:09 +0000 |
commit | 0e7f2bb1810a4e5e62a8e247460cd26f981d0827 (patch) | |
tree | 8dad27954120bd5a9f29c9c9ea3cf78f553c73ad /include | |
parent | b55dd767b2db98f6e4f9128514cb93fe156e7d75 (diff) |
-fparse-all-comments: remove redundant check, as suggested by Fariborz Jahanian
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/AST/RawCommentList.h | 2 |
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. |