size_t CondStackDepth;
public:
- MacroInstantiation(SMLoc IL, int EB, SMLoc EL, StringRef I,
- size_t CondStackDepth);
+ MacroInstantiation(SMLoc IL, int EB, SMLoc EL, size_t CondStackDepth);
};
struct ParseStatementInfo {
}
MacroInstantiation::MacroInstantiation(SMLoc IL, int EB, SMLoc EL,
- StringRef I, size_t CondStackDepth)
+ size_t CondStackDepth)
: InstantiationLoc(IL), ExitBuffer(EB), ExitLoc(EL),
CondStackDepth(CondStackDepth) {}
// Create the macro instantiation object and add to the current macro
// instantiation stack.
- MacroInstantiation *MI =
- new MacroInstantiation(NameLoc, CurBuffer, getTok().getLoc(),
- Instantiation->getBuffer(), TheCondStack.size());
+ MacroInstantiation *MI = new MacroInstantiation(
+ NameLoc, CurBuffer, getTok().getLoc(), TheCondStack.size());
ActiveMacros.push_back(MI);
// Jump to the macro instantiation and prime the lexer.
// Create the macro instantiation object and add to the current macro
// instantiation stack.
- MacroInstantiation *MI =
- new MacroInstantiation(DirectiveLoc, CurBuffer, getTok().getLoc(),
- Instantiation->getBuffer(), TheCondStack.size());
+ MacroInstantiation *MI = new MacroInstantiation(
+ DirectiveLoc, CurBuffer, getTok().getLoc(), TheCondStack.size());
ActiveMacros.push_back(MI);
// Jump to the macro instantiation and prime the lexer.