Clean DiagRanges. Fix a possible problem introduced in r209468.

llvm-svn: 209491
This commit is contained in:
Alexander Kornienko 2014-05-23 01:37:30 +00:00
parent 36e1295a2b
commit 145050288c
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ public:
Storage *Result = FreeList[--NumFreeListEntries]; Storage *Result = FreeList[--NumFreeListEntries];
Result->NumDiagArgs = 0; Result->NumDiagArgs = 0;
Result->DiagRanges.clear();
Result->FixItHints.clear(); Result->FixItHints.clear();
return Result; return Result;
} }