Home | History | Annotate | Download | only in MCParser

Lines Matching refs:Instantiation

59 /// instantiation.
64 /// The macro instantiation with substitutions.
65 MemoryBuffer *Instantiation;
67 /// The location of the instantiation.
70 /// The location where parsing should resume upon instantiation completion.
411 assert(ActiveMacros.empty() && "Unexpected active macro instantiation!");
423 // Print the active macro instantiation stack.
427 "while in macro instantiation");
1119 // If macros are enabled, check to see if this is a macro instantiation.
1486 // instantiation.
1493 : TheMacro(M), Instantiation(I), InstantiationLoc(IL), ExitLoc(EL)
1504 // Parse the macro instantiation arguments.
1510 return TokError("unexpected token in macro instantiation");
1536 // Macro instantiation is lexical, unfortunately. We construct a new buffer
1544 MemoryBuffer *Instantiation =
1545 MemoryBuffer::getMemBufferCopy(Buf.str(), "<instantiation>");
1547 // Create the macro instantiation object and add to the current macro
1548 // instantiation stack.
1551 Instantiation);
1554 // Jump to the macro instantiation and prime the lexer.
1555 CurBuffer = SrcMgr.AddNewSourceBuffer(MI->Instantiation, SMLoc());
1567 // Pop the instantiation entry.
2988 // If we are inside a macro instantiation, terminate the current
2989 // instantiation.