Home | History | Annotate | Download | only in MCParser

Lines Matching refs:Instantiation

81 /// instantiation.
86 /// The macro instantiation with substitutions.
87 MemoryBuffer *Instantiation;
89 /// The location of the instantiation.
92 /// The buffer where parsing should resume upon instantiation completion.
95 /// The location where parsing should resume upon instantiation completion.
277 /// \brief Are we inside a macro instantiation?
280 /// \brief Handle entry to macro instantiation.
283 /// \param NameLoc Instantiation location.
286 /// \brief Handle exit from macro instantiation.
526 "Unexpected active macro instantiation!");
538 // Print the active macro instantiation stack.
544 "while in macro instantiation");
1341 // If macros are enabled, check to see if this is a macro instantiation.
1861 : TheMacro(M), Instantiation(I), InstantiationLoc(IL), ExitBuffer(EB),
1929 return TokError("unexpected token in macro instantiation");
1978 // Parse the macro instantiation arguments.
2107 // Macro instantiation is lexical, unfortunately. We construct a new buffer
2117 // instantiation.
2120 MemoryBuffer *Instantiation =
2121 MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
2123 // Create the macro instantiation object and add to the current macro
2124 // instantiation stack.
2126 M, NameLoc, CurBuffer, getTok().getLoc(), Instantiation);
2129 // Jump to the macro instantiation and prime the lexer.
2130 CurBuffer = SrcMgr.AddNewSourceBuffer(MI->Instantiation, SMLoc());
2142 // Pop the instantiation entry.
3481 // If we are inside a macro instantiation, terminate the current
3482 // instantiation.
4257 MemoryBuffer *Instantiation =
4258 MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
4260 // Create the macro instantiation object and add to the current macro
4261 // instantiation stack.
4263 M, DirectiveLoc, CurBuffer, getTok().getLoc(), Instantiation);
4266 // Jump to the macro instantiation and prime the lexer.
4267 CurBuffer = SrcMgr.AddNewSourceBuffer(MI->Instantiation, SMLoc());
4300 // Macro instantiation is lexical, unfortunately. We construct a new buffer
4338 // Macro instantiation is lexical, unfortunately. We construct a new buffer
4381 // Macro instantiation is lexical, unfortunately. We construct a new buffer