nridge accepted this revision. nridge added inline comments. This revision is now accepted and ready to land.
================ Comment at: clang/include/clang/AST/ExprCXX.h:4582 + if (isLeftFold()) + return getEllipsisLoc(); + return getLHS()->getBeginLoc(); ---------------- Can this case (left fold and no parenthesis) ever happen? It would be interesting to see an example. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D85645/new/ https://reviews.llvm.org/D85645 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits