Lines Matching defs: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.
265 /// \brief Are we inside a macro instantiation?
268 /// \brief Handle entry to macro instantiation.
271 /// \param NameLoc Instantiation location.
274 /// \brief Handle exit from macro instantiation.
501 assert(ActiveMacros.empty() && "Unexpected active macro instantiation!");
512 // Print the active macro instantiation stack.
516 "while in macro instantiation");
1242 // If macros are enabled, check to see if this is a macro instantiation.
1743 : TheMacro(M), Instantiation(I), InstantiationLoc(IL), ExitBuffer(EB),
1793 return TokError("unexpected token in macro instantiation");
1856 // Parse the macro instantiation arguments.
1934 // Macro instantiation is lexical, unfortunately. We construct a new buffer
1944 // instantiation.
1947 MemoryBuffer *Instantiation =
1948 MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
1950 // Create the macro instantiation object and add to the current macro
1951 // instantiation stack.
1955 Instantiation);
1958 // Jump to the macro instantiation and prime the lexer.
1959 CurBuffer = SrcMgr.AddNewSourceBuffer(MI->Instantiation, SMLoc());
1971 // Pop the instantiation entry.
3179 // If we are inside a macro instantiation, terminate the current
3180 // instantiation.
3842 MemoryBuffer *Instantiation =
3843 MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
3845 // Create the macro instantiation object and add to the current macro
3846 // instantiation stack.
3850 Instantiation);
3853 // Jump to the macro instantiation and prime the lexer.
3854 CurBuffer = SrcMgr.AddNewSourceBuffer(MI->Instantiation, SMLoc());
3878 // Macro instantiation is lexical, unfortunately. We construct a new buffer
3921 // Macro instantiation is lexical, unfortunately. We construct a new buffer
3970 // Macro instantiation is lexical, unfortunately. We construct a new buffer