summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2017-06-08 22:25:23 +0000
committerAlexander Kornienko <alexfh@google.com>2017-06-08 22:25:23 +0000
commit934b516a0aa56a9da562e5b09497ce39649653f9 (patch)
tree0b3a344bcf3e8eb9701502765d0c42c9b88dd527 /clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp
parentdc8c01891f48d6a24f6e87ff00dfafd63262d791 (diff)
downloadbcm5719-llvm-934b516a0aa56a9da562e5b09497ce39649653f9.tar.gz
bcm5719-llvm-934b516a0aa56a9da562e5b09497ce39649653f9.zip
[clang-tidy] Use -fexceptions explicitly in the tests that need exceptions.
This should fix relevant buildbot breakages. llvm-svn: 305024
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp b/clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp
index 78fcb76fdb1..3948b66000f 100644
--- a/clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp
+++ b/clang-tools-extra/test/clang-tidy/modernize-use-noexcept-macro.cpp
@@ -1,6 +1,6 @@
// RUN: %check_clang_tidy %s modernize-use-noexcept %t -- \
// RUN: -config="{CheckOptions: [{key: modernize-use-noexcept.ReplacementString, value: 'NOEXCEPT'}]}" \
-// RUN: -- -std=c++11
+// RUN: -- -std=c++11 -fexceptions
// Example definition of NOEXCEPT -- simplified test to see if noexcept is supported.
#if (__has_feature(cxx_noexcept))
OpenPOWER on IntegriCloud