Author: epilk
Date: Fri Feb 15 17:51:19 2019
New Revision: 354192

URL: http://llvm.org/viewvc/llvm-project?rev=354192&view=rev
Log:
Fix some tests I broke in r354190

This was breaking on MSVC, since long double and double have the same
semantics there.

Modified:
    cfe/trunk/test/Misc/warn-in-system-macro-def.c
    cfe/trunk/test/Sema/warn-double-promotion.c

Modified: cfe/trunk/test/Misc/warn-in-system-macro-def.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/warn-in-system-macro-def.c?rev=354192&r1=354191&r2=354192&view=diff
==============================================================================
--- cfe/trunk/test/Misc/warn-in-system-macro-def.c (original)
+++ cfe/trunk/test/Misc/warn-in-system-macro-def.c Fri Feb 15 17:51:19 2019
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -isystem %S -Wdouble-promotion -fsyntax-only %s  2>&1 | 
FileCheck -allow-empty %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -isystem %S -Wdouble-promotion 
-fsyntax-only %s  2>&1 | FileCheck -allow-empty %s
 // CHECK: warning:
 // CHECK: expanded from macro 'ISNAN'
 // CHECK: expanded from macro 'isnan'

Modified: cfe/trunk/test/Sema/warn-double-promotion.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/warn-double-promotion.c?rev=354192&r1=354191&r2=354192&view=diff
==============================================================================
--- cfe/trunk/test/Sema/warn-double-promotion.c (original)
+++ cfe/trunk/test/Sema/warn-double-promotion.c Fri Feb 15 17:51:19 2019
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -verify -fsyntax-only %s -Wdouble-promotion
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -verify -fsyntax-only %s 
-Wdouble-promotion
 
 float ReturnFloatFromDouble(double d) {
   return d;


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to