diff options
| author | Reid Kleckner <reid@kleckner.net> | 2013-10-11 20:46:27 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2013-10-11 20:46:27 +0000 |
| commit | 7bb723065f787633f11f1e1b7eece86191d3815b (patch) | |
| tree | dde493a3d64a7dff2f52111adb8a8df561c8f83f /lib/CodeGen/CGExpr.cpp | |
| parent | 70e37c458e9189cf2d8078b02deb8f8a189f826b (diff) | |
| download | clang-7bb723065f787633f11f1e1b7eece86191d3815b.tar.gz clang-7bb723065f787633f11f1e1b7eece86191d3815b.tar.bz2 clang-7bb723065f787633f11f1e1b7eece86191d3815b.tar.xz | |
Use castAs instead of cast in thunk generation
Calling convention attributes can add sugar to methods that we have to
look through. This fixes an assertion failure in the provided test
case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
