[PATCH] D37442: [C++17] Disallow lambdas in template parameters (PR33696).

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 10 14:53:57 PDT 2018


rsmith accepted this revision.
rsmith added inline comments.


================
Comment at: include/clang/Sema/Sema.h:4000-4004
+      ExpressionEvaluationContextRecord::ExpressionKind Type = ExpressionEvaluationContextRecord::EK_Other);
   enum ReuseLambdaContextDecl_t { ReuseLambdaContextDecl };
-  void PushExpressionEvaluationContext(ExpressionEvaluationContext NewContext,
-                                       ReuseLambdaContextDecl_t,
-                                       bool IsDecltype = false);
+  void PushExpressionEvaluationContext(
+      ExpressionEvaluationContext NewContext, ReuseLambdaContextDecl_t,
+      ExpressionEvaluationContextRecord::ExpressionKind Type = ExpressionEvaluationContextRecord::EK_Other);
----------------
Please check this fits into 80 columns and wrap the line if not.


https://reviews.llvm.org/D37442





More information about the cfe-commits mailing list