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

Nicolas Lesser via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 12:45:57 PST 2018


Rakete1111 updated this revision to Diff 130014.
Rakete1111 added a comment.

I put the enum in `ExpressionEvaluationContextRecord` now, and fixed the `Type` -> `Kind` issue.

If it's still ok, could you please commit it @rsmith? Thanks :)


https://reviews.llvm.org/D37442

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/Sema.h
  lib/Parse/ParseDecl.cpp
  lib/Parse/ParseDeclCXX.cpp
  lib/Parse/ParseStmt.cpp
  lib/Parse/ParseTemplate.cpp
  lib/Sema/Sema.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaExprCXX.cpp
  lib/Sema/TreeTransform.h
  test/CXX/expr/expr.prim/expr.prim.lambda/p2-template-parameter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37442.130014.patch
Type: text/x-patch
Size: 16659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180116/8fa1f41c/attachment.bin>


More information about the cfe-commits mailing list