PR31846: Don't replace 'auto' type with a template parameter type in a generic lambda
until after we've checked whether 'auto' is valid in the current language mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@294078 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Sema/Sema.h 3 additions, 0 deletionsinclude/clang/Sema/Sema.h
- lib/Sema/SemaTemplateDeduction.cpp 7 additions, 0 deletionslib/Sema/SemaTemplateDeduction.cpp
- lib/Sema/SemaType.cpp 27 additions, 34 deletionslib/Sema/SemaType.cpp
- test/SemaCXX/auto-cxx0x.cpp 7 additions, 0 deletionstest/SemaCXX/auto-cxx0x.cpp
Loading
Please register or sign in to comment