diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2017-08-11 16:46:45 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2017-08-11 16:46:45 +0000 |
commit | 9253e89e4706c6f82fbd8e50103d3158843fcdc7 (patch) | |
tree | 61b3a5160fb6f52a1fbb05d254806d6eb427f23f /clang-tools-extra/test/clang-tidy/hicpp-exception-baseclass.cpp | |
parent | 7f37794ebd2c6c36224597800e4d1e5a99ad80e9 (diff) | |
download | bcm5719-llvm-9253e89e4706c6f82fbd8e50103d3158843fcdc7.tar.gz bcm5719-llvm-9253e89e4706c6f82fbd8e50103d3158843fcdc7.zip |
Enable exceptions for this test case to speculatively fix the build bots.
Hopefully corrects: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/15666
llvm-svn: 310732
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/hicpp-exception-baseclass.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/hicpp-exception-baseclass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/test/clang-tidy/hicpp-exception-baseclass.cpp b/clang-tools-extra/test/clang-tidy/hicpp-exception-baseclass.cpp index ac9d9930dcf..6bc95819ed3 100644 --- a/clang-tools-extra/test/clang-tidy/hicpp-exception-baseclass.cpp +++ b/clang-tools-extra/test/clang-tidy/hicpp-exception-baseclass.cpp @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy %s hicpp-exception-baseclass %t +// RUN: %check_clang_tidy %s hicpp-exception-baseclass %t -- -- -fcxx-exceptions namespace std { class exception {}; @@ -20,7 +20,7 @@ void problematic() { throw non_derived_exception(); // Some class is not allowed // CHECK-MESSAGES: [[@LINE-1]]:5: warning: throwing an exception whose type is not derived from 'std::exception' // CHECK-MESSAGES: 8:1: note: type defined here - } catch (non_derived_exception &e) { + } catch (non_derived_exception &e) { } throw non_derived_exception(); // Bad // CHECK-MESSAGES: [[@LINE-1]]:3: warning: throwing an exception whose type is not derived from 'std::exception' |