]> granicus.if.org Git - clang/commit
Unify our computation of the type of a captured reference to a
authorDouglas Gregor <dgregor@apple.com>
Sat, 18 Feb 2012 05:51:20 +0000 (05:51 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 18 Feb 2012 05:51:20 +0000 (05:51 +0000)
commit68932845a432d2a1dbbc57a84fd85bbb37c90487
tree135bedbb565cfe47f8fc84749b471eae7821f674
parentb78ae9716576399145786b93f687943f8b197170
Unify our computation of the type of a captured reference to a
variable; it was previously duplicated, and one of the copies failed
to account for outer non-mutable lambda captures.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150872 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaType.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p16.cpp
test/CXX/expr/expr.prim/expr.prim.lambda/p18.cpp