[clang-tools-extra] r299645 - Attempt to fix build bots after r299638.

Gabor Horvath via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 6 05:49:36 PDT 2017


Author: xazax
Date: Thu Apr  6 07:49:35 2017
New Revision: 299645

URL: http://llvm.org/viewvc/llvm-project?rev=299645&view=rev
Log:
Attempt to fix build bots after r299638.

Modified:
    clang-tools-extra/trunk/test/clang-tidy/misc-forwarding-reference-overload.cpp

Modified: clang-tools-extra/trunk/test/clang-tidy/misc-forwarding-reference-overload.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/misc-forwarding-reference-overload.cpp?rev=299645&r1=299644&r2=299645&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/misc-forwarding-reference-overload.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/misc-forwarding-reference-overload.cpp Thu Apr  6 07:49:35 2017
@@ -1,8 +1,8 @@
-// RUN: %check_clang_tidy %s misc-forwarding-reference-overload %t
+// RUN: %check_clang_tidy %s misc-forwarding-reference-overload %t -- -- -std=c++14
 
 namespace std {
 template <bool B, class T = void>
-struct enable_if {};
+struct enable_if { typedef T type; };
 
 template <class T>
 struct enable_if<true, T> { typedef T type; };




More information about the cfe-commits mailing list