summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-06-06 22:36:36 +0000
committerReid Kleckner <reid@kleckner.net>2014-06-06 22:36:36 +0000
commitacb6ae0576fc9ee20f7cd166098ff055f0ac4c35 (patch)
tree17aea0a5171406ae2bf310395f5ad23e714bb60a /lib/CodeGen/CGExpr.cpp
parentdafcb8f96ffb362ca0304f068c8d8afd35dff9f1 (diff)
downloadclang-acb6ae0576fc9ee20f7cd166098ff055f0ac4c35.tar.gz
clang-acb6ae0576fc9ee20f7cd166098ff055f0ac4c35.tar.bz2
clang-acb6ae0576fc9ee20f7cd166098ff055f0ac4c35.tar.xz
Delay lookup of simple default template arguments under -fms-compatibility
MSVC delays parsing of default arguments until instantiation. If the default argument is never used, it is never parsed. We don't model this. Instead, if lookup of a type name fails in a template argument context, we form a DependentNameType, which will be looked up at instantiation time. This fixes errors about 'CControlWinTraits' in atlwin.h. Reviewers: rsmith Differential Revision: http://reviews.llvm.org/D3995 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions