summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRoger Ferrer Ibanez <roger.ferreribanez@arm.com>2016-11-01 15:46:16 +0000
committerRoger Ferrer Ibanez <roger.ferreribanez@arm.com>2016-11-01 15:46:16 +0000
commit8a915ed644b910ae9d7d2aef7ad491791fbd4944 (patch)
tree94c9f6f9eb9628a577e8d227b3b2646c3e03a2d1 /clang/lib/Frontend/CompilerInvocation.cpp
parent6dd8fab443451e1bbab87186057a80e3088d6d84 (diff)
downloadbcm5719-llvm-8a915ed644b910ae9d7d2aef7ad491791fbd4944.tar.gz
bcm5719-llvm-8a915ed644b910ae9d7d2aef7ad491791fbd4944.zip
Protect exceptional paths under libcpp-no-exceptions
These tests are of the form try { action-that-may-throw assert(!exceptional-condition) assert(some-other-facts) } catch (relevant-exception) { assert(exceptional-condition) } Under libcpp-no-exceptions there is still value in verifying some-other-facts while avoiding the exceptional case. So for these tests just conditionally check some-other-facts if exceptional-condition is false. When exception are supported make sure that a true exceptional-condition throws an exception Differential Revision: https://reviews.llvm.org/D26136 llvm-svn: 285697
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud