[clang-tools-extra] 547685d - [clang-tidy][NFC] Enable exceptions in test for google-readability-casting

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 21 05:27:21 PST 2024


Author: Piotr Zegar
Date: 2024-01-21T13:27:10Z
New Revision: 547685d9e4c64f6f5dadd0ac979ab312b9d395e7

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

LOG: [clang-tidy][NFC] Enable exceptions in test for google-readability-casting

Add missing -fexceptions in test.

Added: 
    

Modified: 
    clang-tools-extra/test/clang-tidy/checkers/google/readability-casting.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/test/clang-tidy/checkers/google/readability-casting.cpp b/clang-tools-extra/test/clang-tidy/checkers/google/readability-casting.cpp
index fdc71167cd82b07..bc53b54264af839 100644
--- a/clang-tools-extra/test/clang-tidy/checkers/google/readability-casting.cpp
+++ b/clang-tools-extra/test/clang-tidy/checkers/google/readability-casting.cpp
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy -std=c++11-or-later %s google-readability-casting %t
+// RUN: %check_clang_tidy -std=c++11-or-later %s google-readability-casting %t -- -- -fexceptions
 
 bool g() { return false; }
 


        


More information about the cfe-commits mailing list