cor3ntin added inline comments.

================
Comment at: clang/lib/Sema/SemaExpr.cpp:2703
+                                                  UnqualifiedId &Id) {
+  InMutableAgnosticContext = true;
+  ExprResult Res = ActOnIdExpression(S, SS, /*TemplateKwLoc*/
----------------
erichkeane wrote:
> I would probably prefer a RAII object for this bool. It makes it easier later 
> on if we decide this is something that needs to be enabled/disabled in a 
> stack.
Agreed, it's better


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123909

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

Reply via email to