]> granicus.if.org Git - clang/commit
Handle PredefinedExpr with templates and lambdas
authorWei Pan <wei.pan@intel.com>
Mon, 16 Sep 2013 13:57:27 +0000 (13:57 +0000)
committerWei Pan <wei.pan@intel.com>
Mon, 16 Sep 2013 13:57:27 +0000 (13:57 +0000)
commit3312933e244d820c1c6fec83c4c0c0f67f42d25b
treede5a1bb3493083cc0792ad589906ea46c46b0dbc
parent84f007b17399ef90f234ef0cef6e3f2495a12f10
Handle PredefinedExpr with templates and lambdas

Summary:

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

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190784 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaTemplateInstantiate.cpp
test/CodeGenCXX/predefined-expr.cpp
test/SemaCXX/predefined-expr.cpp