diff options
| author | Francois Pichet <pichet2000@gmail.com> | 2011-11-17 03:44:24 +0000 |
|---|---|---|
| committer | Francois Pichet <pichet2000@gmail.com> | 2011-11-17 03:44:24 +0000 |
| commit | e6226ae490903717c8c07782f28bc8349543021f (patch) | |
| tree | 577341891ffc8fc06955a15d9a1bc51c22676740 /lib/CodeGen/CGExprConstant.cpp | |
| parent | 09fe1bb696847e6f1b482e5ac40029d53a2402df (diff) | |
| download | clang-e6226ae490903717c8c07782f28bc8349543021f.tar.gz clang-e6226ae490903717c8c07782f28bc8349543021f.tar.bz2 clang-e6226ae490903717c8c07782f28bc8349543021f.tar.xz | |
In Microsoft mode, make "Unqualified lookup into dependent bases of class templates" works inside default argument instantiation.
This is a little bit tricky because during default argument instantiation the CurContext points to a CXXMethodDecl but we can't use the keyword this or have an implicit member call generated.
This fixes 2 errors when parsing MFC code with clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
