Home | History | Annotate | Download | only in MCParser

Lines Matching refs:Instantiation

74 /// instantiation.
79 /// The macro instantiation with substitutions.
80 MemoryBuffer *Instantiation;
82 /// The location of the instantiation.
85 /// The buffer where parsing should resume upon instantiation completion.
88 /// The location where parsing should resume upon instantiation completion.
276 /// \brief Are we inside a macro instantiation?
279 /// \brief Handle entry to macro instantiation.
282 /// \param NameLoc Instantiation location.
285 /// \brief Handle exit from macro instantiation.
512 assert(ActiveMacros.empty() && "Unexpected active macro instantiation!");
523 // Print the active macro instantiation stack.
527 "while in macro instantiation");
1266 // If macros are enabled, check to see if this is a macro instantiation.
1779 : TheMacro(M), Instantiation(I), InstantiationLoc(IL), ExitBuffer(EB),
1829 return TokError("unexpected token in macro instantiation");
1892 // Parse the macro instantiation arguments.
1970 // Macro instantiation is lexical, unfortunately. We construct a new buffer
1980 // instantiation.
1983 MemoryBuffer *Instantiation =
1984 MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
1986 // Create the macro instantiation object and add to the current macro
1987 // instantiation stack.
1991 Instantiation);
1994 // Jump to the macro instantiation and prime the lexer.
1995 CurBuffer = SrcMgr.AddNewSourceBuffer(MI->Instantiation, SMLoc());
2007 // Pop the instantiation entry.
3209 // If we are inside a macro instantiation, terminate the current
3210 // instantiation.
3872 MemoryBuffer *Instantiation =
3873 MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
3875 // Create the macro instantiation object and add to the current macro
3876 // instantiation stack.
3880 Instantiation);
3883 // Jump to the macro instantiation and prime the lexer.
3884 CurBuffer = SrcMgr.AddNewSourceBuffer(MI->Instantiation, SMLoc());
3908 // Macro instantiation is lexical, unfortunately. We construct a new buffer
3951 // Macro instantiation is lexical, unfortunately. We construct a new buffer
4000 // Macro instantiation is lexical, unfortunately. We construct a new buffer