From c018e4d665fbeaf74ed7d0236af47937174a5922 Mon Sep 17 00:00:00 2001 From: Kirill Bobyrev Date: Thu, 11 Aug 2016 08:18:39 +0000 Subject: [PATCH] [clang-tidy] fix readability-else-after-return test As pointed by Yung Douglas, exceptions in test/clang-tidy/readability-else-after-return.cpp are causing PS4 bots to be red, because exceptions aren't enabled by default on PS4 target. This patch is a fix. llvm-svn: 278324 --- clang-tools-extra/test/clang-tidy/readability-else-after-return.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/test/clang-tidy/readability-else-after-return.cpp b/clang-tools-extra/test/clang-tidy/readability-else-after-return.cpp index 27cbfae..4e72141 100644 --- a/clang-tools-extra/test/clang-tidy/readability-else-after-return.cpp +++ b/clang-tools-extra/test/clang-tidy/readability-else-after-return.cpp @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy %s readability-else-after-return %t +// RUN: %check_clang_tidy %s readability-else-after-return %t -- -- -std=c++11 -fexceptions void f(int a) { if (a > 0) -- 2.7.4