diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2016-12-16 03:19:41 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2016-12-16 03:19:41 +0000 |
commit | d644e021b54ddf5d89d3e98c40a9e6337f7da185 (patch) | |
tree | 97a04182b2057adafe046805f12b8fbe62349286 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 3826727453b258ac8b6df655892497cbdd7dc5df (diff) | |
download | llvm-d644e021b54ddf5d89d3e98c40a9e6337f7da185.zip llvm-d644e021b54ddf5d89d3e98c40a9e6337f7da185.tar.gz llvm-d644e021b54ddf5d89d3e98c40a9e6337f7da185.tar.bz2 |
[Sema] Fix handling of enumerators used as default arguments of lambda
expressions in a function or class template.
This patch makes the following changes:
- Create a DependentScopeDeclRefExpr for the default argument instead of
a CXXDependentScopeMemberExpr.
- Pass CombineWithOuterScope=true so that the outer scope in which the
enum is declared is searched for the instantiation of the enum.
This is the first part of https://reviews.llvm.org/D23096. Fixes PR28795
rdar://problem/27535319
llvm-svn: 289914
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions