Home | History | Annotate | Download | only in Basic

Lines Matching defs:Expansion

420   // Use up FileID #0 as an invalid expansion.
737 // location or are "near" the cached expansion location. 2) others are just
765 // If this isn't an expansion, remember it. We have good locality across
806 // If this isn't a macro expansion, remember it. We have good locality
901 // expansion (e.g. the 5th character of the token) we do not want to add
902 // this offset when going to the expansion location. The expansion
935 // If this is an expansion record, walk through all the expansion points.
953 // If this is an expansion record, walk through all the expansion points.
980 /// getImmediateExpansionRange - Loc is required to be an expansion location.
981 /// Return the start/end of the expansion information.
984 assert(Loc.isMacroID() && "Not a macro expansion loc!");
985 const ExpansionInfo &Expansion = getSLocEntry(getFileID(Loc)).getExpansion();
986 return Expansion.getExpansionLocRange();
990 /// tokens covered by the expansion in the ultimate file.
998 // Fully resolve the start and end locations to their ultimate expansion
1011 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion();
1012 return Expansion.isMacroArgExpansion();
1019 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion();
1020 return Expansion.isMacroBodyExpansion();
1029 return false; // Does not point at the start of expansion range.
1040 // the same argument expansion, in which case this Loc is not at the
1041 // beginning of the expansion.
1065 return false; // Does not point at the end of expansion range.
1075 // same argument expansion, in which case this Loc is not at the end of the
1076 // expansion.
1448 /// Note that a presumed location is always given as the expansion point of an
1449 /// expansion location, not at the spelling location.
1454 // Presumed locations are always for expansion points.
1524 // Presumed locations are always for expansion points.
1848 // The spelling range for this macro argument expansion can span multiple
1850 // spelling range and if one is itself a macro argument expansion, recurse
1921 /// be at the first expansion of the argument.
1985 /// Given a decomposed source location, move it up the include/expansion stack