diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-02-22 00:17:46 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-02-22 00:17:46 +0000 |
| commit | fb9b689230eed1d9c1b7cecc80e4545d233b3b91 (patch) | |
| tree | 33b89b8530e6939fe7b26e751a70206943e9d0b4 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 1035a959dafb867fe30eeb70cc59f3cd7f905492 (diff) | |
| download | clang-fb9b689230eed1d9c1b7cecc80e4545d233b3b91.tar.gz clang-fb9b689230eed1d9c1b7cecc80e4545d233b3b91.tar.bz2 clang-fb9b689230eed1d9c1b7cecc80e4545d233b3b91.tar.xz | |
Sema: Don't crash when trying to instantiate a local class with an invalid base specifier
It was previously thought that Sema::InstantiateClass could not fail
from within this point in instantiate.
However, it can happen if the class is invalid some way (i.e. invalid
base specifier).
This fixes PR18907.
Differential Revision: http://llvm-reviews.chandlerc.com/D2850
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
