[PATCH] Handle PredefinedExpr with templates and lambdas

Wei Pan wei.pan at intel.com
Mon Sep 9 08:46:34 PDT 2013


wwwwpan added you to the CC list for the revision "Handle PredefinedExpr with templates and lambdas".

Hi bkramer, erik_olofsson,

- lambdas, blocks or captured statements in templates were not
  handled which cause codegen crashes.

The crash raised by Erik Olofsson in 

http://llvm-reviews.chandlerc.com/D1491

was not introduced by D1491 since we do not support PredefinedExpr with lambdas inside templates in general. This patch tries to fix this defect. Thanks!


http://llvm-reviews.chandlerc.com/D1628

Files:
  include/clang/Sema/Sema.h
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaTemplateInstantiate.cpp
  test/CodeGenCXX/predefined-expr.cpp
  test/SemaCXX/predefined-expr.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1628.1.patch
Type: text/x-patch
Size: 7728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130909/d48f2a0d/attachment.bin>


More information about the cfe-commits mailing list