================
@@ -972,6 +972,12 @@ class Sema final : public SemaBase {
/// Calls \c Lexer::getLocForEndOfToken()
SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0);
+ /// Calls \c Lexer::findNextToken() to find the next token, and if the
+ /// locations of both ends of the token can be resolved it return that
----------------
ojhunt wrote:
@shafik sorry a more direct answer: the existing tests exposed not handling
some macro cases correctly, specifically those that result in variations on
unresolvable locations, but I had a pile of work, and now I'm on vacation and
trying to Vacation Correctly(tm) and not do work so I haven't got back to this.
https://github.com/llvm/llvm-project/pull/141148
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits