[clang] [libcxx] [Clang] Implement resolution for CWG1835 (PR #92957)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 6 08:30:49 PDT 2024


================
@@ -1790,24 +1782,25 @@ ExprResult Sema::ActOnMemberAccessExpr(Scope *S, Expr *Base,
   const TemplateArgumentListInfo *TemplateArgs;
   DecomposeUnqualifiedId(Id, TemplateArgsBuffer,
                          NameInfo, TemplateArgs);
-
-  bool IsArrow = (OpKind == tok::arrow);
+  bool IsArrow = OpKind == tok::arrow;
----------------
erichkeane wrote:

Mild preference to keep the old spelling here.

https://github.com/llvm/llvm-project/pull/92957


More information about the cfe-commits mailing list