[clang-tools-extra] 30fed17 - [clang-tidy][NFC] Enable exceptions in no-suspend-with-lock.cpp

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 11 00:29:22 PDT 2023


Author: Piotr Zegar
Date: 2023-08-11T07:29:06Z
New Revision: 30fed17a08cda324b557498a6db18dd4a0281daa

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

LOG: [clang-tidy][NFC] Enable exceptions in no-suspend-with-lock.cpp

Enable exceptions in no-suspend-with-lock.cpp, because
without them this test fails on clang-x86_64-sie-ubuntu-fast.

Added: 
    

Modified: 
    clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/no-suspend-with-lock.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/no-suspend-with-lock.cpp b/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/no-suspend-with-lock.cpp
index 6944864302dce0..a6e0cd778c40cf 100644
--- a/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/no-suspend-with-lock.cpp
+++ b/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/no-suspend-with-lock.cpp
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy -std=c++20 %s cppcoreguidelines-no-suspend-with-lock %t -- -- -fno-delayed-template-parsing
+// RUN: %check_clang_tidy -std=c++20 %s cppcoreguidelines-no-suspend-with-lock %t -- -- -fno-delayed-template-parsing -fexceptions
 
 // NOLINTBEGIN
 namespace std {


        


More information about the cfe-commits mailing list