Lines Matching full:expansion
62 errc::invalid_argument, "Range starts or ends in a macro expansion"); in validateRange()
92 const auto &Expansion = SM.getSLocEntry(SM.getFileID(Loc)).getExpansion(); in spelledInMacroDefinition() local
93 if (Expansion.isMacroArgExpansion()) { in spelledInMacroDefinition()
95 // in a macro expansion. in spelledInMacroDefinition()
96 Loc = Expansion.getSpellingLoc(); in spelledInMacroDefinition()
104 // Returns the expansion char-range of `Loc` if `Loc` is a split token. For
115 if (auto &Expansion = SLoc.getExpansion(); in getExpansionForSplitToken() local
116 !Expansion.isExpansionTokenRange()) { in getExpansionForSplitToken()
117 // A char-range expansion is only used where a token-range would be in getExpansionForSplitToken()
120 return Expansion.getExpansionLocRange(); in getExpansionForSplitToken()
126 // If `Range` covers a split token, returns the expansion range, otherwise
137 // We can't use the expansion location with a token-range, because that in getRangeForSplitTokens()
143 // the only adjustment we make is to use the expansion location of the in getRangeForSplitTokens()
257 // macro expansion, we don't have visibility into the text, so we assume we've in getEntityEndLoc()
266 // the end of the expansion coincides with the end of the node, we can still in getEntityEndLoc()
269 // expansion loc. in getEntityEndLoc()
485 // macro expansion which is already handled by makeFileCharRange(), in getAssociatedRange()
492 // Range.getBegin() may be inside an expansion. in getAssociatedRange()