diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-11-27 04:41:50 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-11-27 04:41:50 +0000 |
commit | d888962cff03b543fbe9ac6051ec6addf5b993b4 (patch) | |
tree | 7d4ff4da45640d0349d719c7635063a89a342251 /lib/Frontend/GeneratePCH.cpp | |
parent | 8c3e7e7ddafe26f236741fb25e2898be4f3230ea (diff) |
More work on ScalarExprEmitter::EmitCastExpr: for every cast kind, either
implement it explicitly or assert that it doesn't make sense for a scalar.
This caught a couple interesting issues: one, CK_BaseToDerivedMemberPointer
casts were getting silently miscompiled, and two, Sema was constructing some
strange implicit casts of type CK_UserDefinedConversion.
The change in SemaExprCXX makes sure the cast kinds are getting set correctly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89987 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/GeneratePCH.cpp')
0 files changed, 0 insertions, 0 deletions