Lines Matching defs:Expansion
120 // of tokens (e.g. identifiers, thus disabling macro expansion). It is used
175 /// _Pragma expansion. This has a variety of magic semantics that this method
180 /// expansion location that indicates where all lexed tokens should be
291 // Raw string literals need special handling; trigraph expansion and line
324 /// after trigraph expansion and escaped-newline folding. In particular, this
365 /// after trigraph expansion and escaped-newline folding. In particular, this
468 // If this comes from a macro expansion, we really do want the macro name, not
724 // Figure out how many physical characters away the specified expansion
789 return {}; // Points inside the macro expansion.
802 /// token of the macro expansion.
824 /// token of the macro expansion.
983 // Find the location of the immediate macro expansion.
987 const SrcMgr::ExpansionInfo &Expansion = E->getExpansion();
988 Loc = Expansion.getExpansionLocStart();
989 if (!Expansion.isMacroArgExpansion())
996 // macro expansion.
998 SourceLocation SpellLoc = Expansion.getSpellingLoc();
1002 // If spelling location resides in the same FileID as macro expansion
1012 // Find the spelling location of the start of the non-argument expansion
1018 // name so that we can render it into the expansion note.
1037 // Find the spelling location of the start of the non-argument expansion
1043 // name so that we can render it into the expansion note.
1108 assert(FileLoc.isMacroID() && "Must be a macro expansion");
1111 // _Pragma handling. Combine the expansion location of FileLoc with the
1115 // Create a new SLoc which is expanded from Expansion(FileLoc) but whose
1120 // Figure out the expansion loc range, which is the range covered by the
2818 // without emitting diagnostics, disables macro expansion, and will cause EOF