[clang-tools-extra] 6730f39 - Fixup test after changes made in 709fd989.
Douglas Yung via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 19 18:42:13 PST 2020
Author: Douglas Yung
Date: 2020-02-19T18:39:54-08:00
New Revision: 6730f390a1fb069e567ebd635390de381d21b994
URL: https://github.com/llvm/llvm-project/commit/6730f390a1fb069e567ebd635390de381d21b994
DIFF: https://github.com/llvm/llvm-project/commit/6730f390a1fb069e567ebd635390de381d21b994.diff
LOG: Fixup test after changes made in 709fd989.
The change added a test that required exceptions, so enable that explicitly
so that it works on platforms that default to having exceptions disabled
(like the PS4).
Added:
Modified:
clang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init.cpp b/clang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init.cpp
index 84dfeb215f4f..3570fcff4a5c 100644
--- a/clang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init.cpp
+++ b/clang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init.cpp
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy -std=c++11,c++14,c++17 %s modernize-use-default-member-init %t
+// RUN: %check_clang_tidy -std=c++11,c++14,c++17 %s modernize-use-default-member-init %t -- -- -fexceptions
// FIXME: Fix the checker to work in C++2a mode.
struct S {
More information about the cfe-commits
mailing list