[cfe-commits] r159253 - /cfe/trunk/lib/AST/RawCommentList.cpp

Dmitri Gribenko gribozavr at gmail.com
Tue Jun 26 22:48:37 PDT 2012


Author: gribozavr
Date: Wed Jun 27 00:48:36 2012
New Revision: 159253

URL: http://llvm.org/viewvc/llvm-project?rev=159253&view=rev
Log:
Initialize RawComment::BriefTextValid in other constructor, too.

Modified:
    cfe/trunk/lib/AST/RawCommentList.cpp

Modified: cfe/trunk/lib/AST/RawCommentList.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/RawCommentList.cpp?rev=159253&r1=159252&r2=159253&view=diff
==============================================================================
--- cfe/trunk/lib/AST/RawCommentList.cpp (original)
+++ cfe/trunk/lib/AST/RawCommentList.cpp Wed Jun 27 00:48:36 2012
@@ -60,7 +60,8 @@
 
 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()) {





More information about the cfe-commits mailing list