Lines Matching defs:Expansion
104 // of tokens (e.g. identifiers, thus disabling macro expansion). It is used
164 /// _Pragma expansion. This has a variety of magic semantics that this method
169 /// expansion location that indicates where all lexed tokens should be
263 // Raw string literals need special handling; trigraph expansion and line
296 /// after trigraph expansion and escaped-newline folding. In particular, this
337 /// after trigraph expansion and escaped-newline folding. In particular, this
440 // If this comes from a macro expansion, we really do want the macro name, not
718 // Figure out how many physical characters away the specified expansion
781 return SourceLocation(); // Points inside the macro expansion.
794 /// token of the macro expansion.
816 /// token of the macro expansion.
975 // Find the location of the immediate macro expansion.
979 const SrcMgr::ExpansionInfo &Expansion = E->getExpansion();
980 Loc = Expansion.getExpansionLocStart();
981 if (!Expansion.isMacroArgExpansion())
988 // macro expansion.
990 SourceLocation SpellLoc = Expansion.getSpellingLoc();
994 // If spelling location resides in the same FileID as macro expansion
1004 // Find the spelling location of the start of the non-argument expansion
1010 // name so that we can render it into the expansion note.
1035 assert(FileLoc.isMacroID() && "Must be a macro expansion");
1038 // _Pragma handling. Combine the expansion location of FileLoc with the
1042 // Create a new SLoc which is expanded from Expansion(FileLoc) but whose
1047 // Figure out the expansion loc range, which is the range covered by the
2431 // without emitting diagnostics, disables macro expansion, and will cause EOF