Find an expansion range (not necessarily immediate) the ends of which are in the same file id.
| 150 | // Find an expansion range (not necessarily immediate) the ends of which are in |
| 151 | // the same file id. |
| 152 | static SourceRange getExpansionTokenRangeInSameFile(SourceLocation Loc, |
| 153 | const SourceManager& SM, |
| 154 | const LangOptions& LangOpts) { |
| 155 | return rangeInCommonFile(toTokenRange(SM.getImmediateExpansionRange(Loc), SM, LangOpts), |
| 156 | SM, |
| 157 | LangOpts); |
| 158 | } |
| 159 | |
| 160 | // Returns the file range for a given Location as a Token Range |
| 161 | // This is quite similar to getFileLoc in SourceManager as both use |
no test coverage detected