r209491 - Clean DiagRanges. Fix a possible problem introduced in r209468.
Alexander Kornienko
alexfh at google.com
Thu May 22 18:37:30 PDT 2014
Author: alexfh
Date: Thu May 22 20:37:30 2014
New Revision: 209491
URL: http://llvm.org/viewvc/llvm-project?rev=209491&view=rev
Log:
Clean DiagRanges. Fix a possible problem introduced in r209468.
Modified:
cfe/trunk/include/clang/Basic/PartialDiagnostic.h
Modified: cfe/trunk/include/clang/Basic/PartialDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/PartialDiagnostic.h?rev=209491&r1=209490&r2=209491&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/PartialDiagnostic.h (original)
+++ cfe/trunk/include/clang/Basic/PartialDiagnostic.h Thu May 22 20:37:30 2014
@@ -92,6 +92,7 @@ public:
Storage *Result = FreeList[--NumFreeListEntries];
Result->NumDiagArgs = 0;
+ Result->DiagRanges.clear();
Result->FixItHints.clear();
return Result;
}
More information about the cfe-commits
mailing list