forked from OSchip/llvm-project
Remove an unused bit from the serialized IdentifierInfo
llvm-svn: 165683
This commit is contained in:
parent
5a4649b034
commit
0634737452
|
@ -97,7 +97,7 @@ void Preprocessor::addLoadedMacroInfo(IdentifierInfo *II, MacroInfo *MI) {
|
|||
PrevPrev->isDefined());
|
||||
|
||||
// FIXME: Actually use the ambiguity information for something.
|
||||
|
||||
|
||||
// Wire this macro information into the chain.
|
||||
MI->setPreviousDefinition(Prev->getPreviousDefinition());
|
||||
Prev->setPreviousDefinition(MI);
|
||||
|
|
|
@ -540,8 +540,6 @@ IdentifierInfo *ASTIdentifierLookupTrait::ReadData(const internal_key_type& k,
|
|||
Bits >>= 1;
|
||||
bool hadMacroDefinition = Bits & 0x01;
|
||||
Bits >>= 1;
|
||||
bool hasMacroDefinition = Bits & 0x01;
|
||||
Bits >>= 1;
|
||||
|
||||
assert(Bits == 0 && "Extra bits in the identifier?");
|
||||
DataLen -= 8;
|
||||
|
|
|
@ -2632,8 +2632,6 @@ public:
|
|||
clang::io::Emit16(Out, Bits);
|
||||
Bits = 0;
|
||||
bool HadMacroDefinition = hadMacroDefinition(II, Macro);
|
||||
bool HasMacroDefinition = HadMacroDefinition && II->hasMacroDefinition();
|
||||
Bits = (Bits << 1) | unsigned(HasMacroDefinition);
|
||||
Bits = (Bits << 1) | unsigned(HadMacroDefinition);
|
||||
Bits = (Bits << 1) | unsigned(II->isExtensionToken());
|
||||
Bits = (Bits << 1) | unsigned(II->isPoisoned());
|
||||
|
|
Loading…
Reference in New Issue