diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-02-20 23:22:07 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-02-20 23:22:07 +0000 |
| commit | c1f8c88ff426b317deb83ff7c2af0a21bb640d53 (patch) | |
| tree | 72b132640140732415bbebf33aa69e5e529954df /lib/Basic/FileManager.cpp | |
| parent | 9e1078f32e6a48b9d9e38cb640acf1f6b43642a0 (diff) | |
| download | clang-c1f8c88ff426b317deb83ff7c2af0a21bb640d53.tar.gz clang-c1f8c88ff426b317deb83ff7c2af0a21bb640d53.tar.bz2 clang-c1f8c88ff426b317deb83ff7c2af0a21bb640d53.tar.xz | |
Sema: Do not assert when dereferencing member pointer using virtual inheritance with an incomplete class type
The MS ABI requires that we determine the vbptr offset if have a
virtual inheritance model. Instead, raise an error pointing to the
diagnostic when this happens.
This fixes PR18583.
Differential Revision: http://llvm-reviews.chandlerc.com/D2842
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions
