[PATCH] D85645: [AST] Fix the CXXFoldExpr source range when parentheses range is invalid.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 00:20:19 PDT 2020


hokein added inline comments.


================
Comment at: clang/include/clang/AST/ExprCXX.h:4587
+      return RParenLoc;
+    return getPattern()->getEndLoc();
+  }
----------------
nridge wrote:
> Wouldn't `EllipsisLoc` be more accurate?
yeah, that sounds more reasonable.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85645/new/

https://reviews.llvm.org/D85645



More information about the cfe-commits mailing list