[clang-tools-extra] r325225 - [clang-tidy] Make a test pass on platforms where exceptions disabled by default.

Gabor Horvath via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 15 01:24:55 PST 2018


Author: xazax
Date: Thu Feb 15 01:24:55 2018
New Revision: 325225

URL: http://llvm.org/viewvc/llvm-project?rev=325225&view=rev
Log:
[clang-tidy] Make a test pass on platforms where exceptions disabled by default.

Modified:
    clang-tools-extra/trunk/test/clang-tidy/bugprone-throw-keyword-missing.cpp

Modified: clang-tools-extra/trunk/test/clang-tidy/bugprone-throw-keyword-missing.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/bugprone-throw-keyword-missing.cpp?rev=325225&r1=325224&r2=325225&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/bugprone-throw-keyword-missing.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/bugprone-throw-keyword-missing.cpp Thu Feb 15 01:24:55 2018
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy %s bugprone-throw-keyword-missing %t
+// RUN: %check_clang_tidy %s bugprone-throw-keyword-missing %t -- -- -fexceptions
 
 namespace std {
 




More information about the cfe-commits mailing list