[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.

llvm-svn: 372715
This commit is contained in:
Fangrui Song 2019-09-24 09:55:35 +00:00
parent e07376a320
commit a0d79d846f
1 changed files with 1 additions and 1 deletions

View File

@ -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;