forked from OSchip/llvm-project
Clean DiagRanges. Fix a possible problem introduced in r209468.
llvm-svn: 209491
This commit is contained in:
parent
36e1295a2b
commit
145050288c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue