curdeius added inline comments.

================
Comment at: clang/lib/Parse/ParseExprCXX.cpp:1435
+
+    WarnIfHasCUDATargetAttr();
   } else if (Tok.isOneOf(tok::kw_mutable, tok::arrow, tok::kw___attribute,
----------------
aaron.ballman wrote:
> Rather than add this in both branches, I'd say to hoist it out of the 
> branches and put it after the `else if` below (before the declaration of 
> `ScopeFlags`).
True. Will do soon.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99489

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to