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
Showing
- include/clang/Sema/Sema.h 4 additions, 0 deletionsinclude/clang/Sema/Sema.h
- lib/Sema/SemaExpr.cpp 40 additions, 41 deletionslib/Sema/SemaExpr.cpp
- lib/Sema/SemaType.cpp 3 additions, 36 deletionslib/Sema/SemaType.cpp
- test/CXX/expr/expr.prim/expr.prim.lambda/p16.cpp 3 additions, 0 deletionstest/CXX/expr/expr.prim/expr.prim.lambda/p16.cpp
- test/CXX/expr/expr.prim/expr.prim.lambda/p18.cpp 2 additions, 2 deletionstest/CXX/expr/expr.prim/expr.prim.lambda/p18.cpp
Loading
Please register or sign in to comment