Increas number of iterations before a new libclang format object

is created to 1000.

llvm-svn: 170481
This commit is contained in:
Fariborz Jahanian 2012-12-19 00:35:23 +00:00
parent 39b685e4d1
commit bbdb9f2653
1 changed files with 1 additions and 1 deletions

View File

@ -1380,7 +1380,7 @@ CXString clang_FullComment_getAsXML(CXComment CXC) {
if (!SFC) {
SFC = new SimpleFormatContext(Context.getLangOpts());
TU->FormatContext = SFC;
} else if ((TU->FormatInMemoryUniqueId % 10) == 0) {
} else if ((TU->FormatInMemoryUniqueId % 1000) == 0) {
// Delete after some number of iterators, so the buffers don't grow
// too large.
delete SFC;