erichkeane added inline comments.

================
Comment at: clang/lib/Sema/TreeTransform.h:13165
+    //                  when checking satisfaction.
+    NewTrailingRequiresClause = getDerived().TransformExpr(TRC);
+
----------------
So I just noticed this: What happens when NewTrailingRequiresClause is invalid 
here? I think the call to 'get' below on this would assert, right?  This 
perhaps needs to return ExprError in that case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124012

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

Reply via email to