[clang-tools-extra] bda2028 - [clang-tidy] Add exception flag to bugprone-unhandled-exception-at-new test.

Balázs Kéri via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 14 00:50:08 PDT 2021


Author: Balázs Kéri
Date: 2021-04-14T10:01:05+02:00
New Revision: bda20282cb94faa97b2e50cb592eff3dec94f6b0

URL: https://github.com/llvm/llvm-project/commit/bda20282cb94faa97b2e50cb592eff3dec94f6b0
DIFF: https://github.com/llvm/llvm-project/commit/bda20282cb94faa97b2e50cb592eff3dec94f6b0.diff

LOG: [clang-tidy] Add exception flag to bugprone-unhandled-exception-at-new test.

Added: 
    

Modified: 
    clang-tools-extra/test/clang-tidy/checkers/bugprone-unhandled-exception-at-new.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/test/clang-tidy/checkers/bugprone-unhandled-exception-at-new.cpp b/clang-tools-extra/test/clang-tidy/checkers/bugprone-unhandled-exception-at-new.cpp
index 433a266cc185..6883463b0ae5 100644
--- a/clang-tools-extra/test/clang-tidy/checkers/bugprone-unhandled-exception-at-new.cpp
+++ b/clang-tools-extra/test/clang-tidy/checkers/bugprone-unhandled-exception-at-new.cpp
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy -std=c++14 %s bugprone-unhandled-exception-at-new %t
+// RUN: %check_clang_tidy -std=c++14 %s bugprone-unhandled-exception-at-new %t -- -- -fexceptions
 
 namespace std {
 typedef __typeof__(sizeof(0)) size_t;


        


More information about the cfe-commits mailing list