Fixed formatting.

llvm-svn: 211295
This commit is contained in:
Yaron Keren 2014-06-19 19:12:02 +00:00
parent 77c50d2394
commit fdbb4a54d5
1 changed files with 2 additions and 3 deletions

View File

@ -101,14 +101,13 @@ Preprocessor::AllocateVisibilityMacroDirective(SourceLocation Loc,
/// \brief Release the specified MacroInfo to be reused for allocating
/// new MacroInfo objects.
void Preprocessor::ReleaseMacroInfo(MacroInfo *MI) {
MacroInfoChain *MIChain = (MacroInfoChain*) MI;
MacroInfoChain *MIChain = (MacroInfoChain *)MI;
if (MacroInfoChain *Prev = MIChain->Prev) {
MacroInfoChain *Next = MIChain->Next;
Prev->Next = Next;
if (Next)
Next->Prev = Prev;
}
else {
} else {
assert(MIChainHead == MIChain);
MIChainHead = MIChain->Next;
MIChainHead->Prev = nullptr;