diff options
author | Alexander Kornienko <alexfh@google.com> | 2014-09-18 15:19:53 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2014-09-18 15:19:53 +0000 |
commit | 1aa0af2aca19950bf04e2bcfee5d1acbe57310a6 (patch) | |
tree | 07a4113a2709015fe5cd62493a3a3855a65855c6 /clang/lib/Sema | |
parent | 3ee7cdab5325494a6bb973e798d185ffc2331316 (diff) | |
download | bcm5719-llvm-1aa0af2aca19950bf04e2bcfee5d1acbe57310a6.tar.gz bcm5719-llvm-1aa0af2aca19950bf04e2bcfee5d1acbe57310a6.zip |
Use exceptions() instead of getNumExceptions()/getExceptionType() to avoid
accesses to incorrect exception types when getExceptionSpecType() != EST_Dynamic
This fixes a crash in test/CXX/except/except.spec/template.cpp that happens in
certain build configurations.
llvm-svn: 218053
Diffstat (limited to 'clang/lib/Sema')
0 files changed, 0 insertions, 0 deletions