forked from OSchip/llvm-project
parent
f9c02e15c4
commit
b865f7e025
|
@ -106,11 +106,8 @@ Preprocessor::~Preprocessor() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Free any macro definitions.
|
// Free any macro definitions.
|
||||||
for (MacroInfoChain *I = MIChainHead ; I ; ) {
|
for (MacroInfoChain *I = MIChainHead ; I ; I = I->Next)
|
||||||
MacroInfoChain *Next = I->Next;
|
|
||||||
I->MI.Destroy();
|
I->MI.Destroy();
|
||||||
I = Next;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Free any cached macro expanders.
|
// Free any cached macro expanders.
|
||||||
for (unsigned i = 0, e = NumCachedTokenLexers; i != e; ++i)
|
for (unsigned i = 0, e = NumCachedTokenLexers; i != e; ++i)
|
||||||
|
|
Loading…
Reference in New Issue