diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-08-05 04:53:41 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-08-05 04:53:41 +0000 |
| commit | 8b051ce94e59c37cfe09e34fe2bf15c037cbbdb3 (patch) | |
| tree | eb7ca9042a9468f4658923b8a551bb907a17ee74 /lib/CodeGen/CGExpr.cpp | |
| parent | bb1b797d2e432293563747bd9704b22cf0787061 (diff) | |
| download | clang-8b051ce94e59c37cfe09e34fe2bf15c037cbbdb3.tar.gz clang-8b051ce94e59c37cfe09e34fe2bf15c037cbbdb3.tar.bz2 clang-8b051ce94e59c37cfe09e34fe2bf15c037cbbdb3.tar.xz | |
Sema: Don't assume a nested name specifier holds a type
Sema::PerformObjectMemberConversion assumed that the Qualifier it was
given holds a type. However, the specifier could hold just a namespace.
In this case, we should ignore the qualifier and not attempt to cast to
it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
