diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-06-27 05:48:36 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-06-27 05:48:36 +0000 |
commit | 60c7ec699bc3398306ed2d2df9362d64ebd2e85c (patch) | |
tree | 60d3f006f6a53da6c74c9b90819d64ea59bbbc98 /clang/lib/AST/RawCommentList.cpp | |
parent | 37184c2e66862282697aa37c0e53ab34088c9c6e (diff) | |
download | bcm5719-llvm-60c7ec699bc3398306ed2d2df9362d64ebd2e85c.tar.gz bcm5719-llvm-60c7ec699bc3398306ed2d2df9362d64ebd2e85c.zip |
Initialize RawComment::BriefTextValid in other constructor, too.
llvm-svn: 159253
Diffstat (limited to 'clang/lib/AST/RawCommentList.cpp')
-rw-r--r-- | clang/lib/AST/RawCommentList.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/AST/RawCommentList.cpp b/clang/lib/AST/RawCommentList.cpp index ede47664d6b..b2b0c43aed0 100644 --- a/clang/lib/AST/RawCommentList.cpp +++ b/clang/lib/AST/RawCommentList.cpp @@ -60,7 +60,8 @@ bool mergedCommentIsTrailingComment(StringRef Comment) { RawComment::RawComment(const SourceManager &SourceMgr, SourceRange SR, bool Merged) : - Range(SR), RawTextValid(false), IsAlmostTrailingComment(false), + Range(SR), RawTextValid(false), BriefTextValid(false), + IsAlmostTrailingComment(false), BeginLineValid(false), EndLineValid(false) { // Extract raw comment text, if possible. if (SR.getBegin() == SR.getEnd() || getRawText(SourceMgr).empty()) { |