[clang-tools-extra] r372715 - [clang-tidy][test] Add -fexceptions to bugprone-infinite-loop.test
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 24 02:55:35 PDT 2019
Author: maskray
Date: Tue Sep 24 02:55:35 2019
New Revision: 372715
URL: http://llvm.org/viewvc/llvm-project?rev=372715&view=rev
Log:
[clang-tidy][test] Add -fexceptions to bugprone-infinite-loop.test
This fixes llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast.
-fexceptions is disabled by default on XCore and PS4.
Modified:
clang-tools-extra/trunk/test/clang-tidy/bugprone-infinite-loop.cpp
Modified: clang-tools-extra/trunk/test/clang-tidy/bugprone-infinite-loop.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/bugprone-infinite-loop.cpp?rev=372715&r1=372714&r2=372715&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/bugprone-infinite-loop.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/bugprone-infinite-loop.cpp Tue Sep 24 02:55:35 2019
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy %s bugprone-infinite-loop %t
+// RUN: %check_clang_tidy %s bugprone-infinite-loop %t -- -- -fexceptions
void simple_infinite_loop1() {
int i = 0;
More information about the cfe-commits
mailing list