Home | History | Annotate | Download | only in Basic

Lines Matching defs:Expansion

411   // Use up FileID #0 as an invalid expansion.
728 // location or are "near" the cached expansion location. 2) others are just
756 // If this isn't an expansion, remember it. We have good locality across
797 // If this isn't a macro expansion, remember it. We have good locality
892 // expansion (e.g. the 5th character of the token) we do not want to add
893 // this offset when going to the expansion location. The expansion
926 // If this is an expansion record, walk through all the expansion points.
944 // If this is an expansion record, walk through all the expansion points.
971 /// getImmediateExpansionRange - Loc is required to be an expansion location.
972 /// Return the start/end of the expansion information.
975 assert(Loc.isMacroID() && "Not a macro expansion loc!");
976 const ExpansionInfo &Expansion = getSLocEntry(getFileID(Loc)).getExpansion();
977 return Expansion.getExpansionLocRange();
981 /// tokens covered by the expansion in the ultimate file.
989 // Fully resolve the start and end locations to their ultimate expansion
1002 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion();
1003 return Expansion.isMacroArgExpansion();
1010 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion();
1011 return Expansion.isMacroBodyExpansion();
1020 return false; // Does not point at the start of expansion range.
1031 // the same argument expansion, in which case this Loc is not at the
1032 // beginning of the expansion.
1056 return false; // Does not point at the end of expansion range.
1066 // same argument expansion, in which case this Loc is not at the end of the
1067 // expansion.
1439 /// Note that a presumed location is always given as the expansion point of an
1440 /// expansion location, not at the spelling location.
1445 // Presumed locations are always for expansion points.
1515 // Presumed locations are always for expansion points.
1839 // The spelling range for this macro argument expansion can span multiple
1841 // spelling range and if one is itself a macro argument expansion, recurse
1912 /// be at the first expansion of the argument.
1976 /// Given a decomposed source location, move it up the include/expansion stack