r372263 - fix build, adjust test also for Windows path separator

Lubos Lunak via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 18 14:41:45 PDT 2019


Author: llunak
Date: Wed Sep 18 14:41:45 2019
New Revision: 372263

URL: http://llvm.org/viewvc/llvm-project?rev=372263&view=rev
Log:
fix build, adjust test also for Windows path separator

Introduced in 1e9c1d2b7bfc.

Modified:
    cfe/trunk/test/Frontend/rewrite-includes-conditions.c
    cfe/trunk/test/Frontend/rewrite-includes.c

Modified: cfe/trunk/test/Frontend/rewrite-includes-conditions.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes-conditions.c?rev=372263&r1=372262&r2=372263&view=diff
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes-conditions.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes-conditions.c Wed Sep 18 14:41:45 2019
@@ -109,5 +109,5 @@ static int unused;
 
 // CHECK: {{^}}// ENDCOMPARE{{$}}
 
-// COMPILE: Inputs/rewrite-includes3.h:1:31: warning: implicit conversion changes signedness:
+// COMPILE: Inputs{{[/\\]}}rewrite-includes3.h:1:31: warning: implicit conversion changes signedness:
 // COMPILE: rewrite-includes-conditions.c:46:12: warning: unused variable 'unused'

Modified: cfe/trunk/test/Frontend/rewrite-includes.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/rewrite-includes.c?rev=372263&r1=372262&r2=372263&view=diff
==============================================================================
--- cfe/trunk/test/Frontend/rewrite-includes.c (original)
+++ cfe/trunk/test/Frontend/rewrite-includes.c Wed Sep 18 14:41:45 2019
@@ -250,5 +250,5 @@ static int unused;
 // CHECKNL-NEXT: {{^}}static int unused;{{$}}
 // CHECKNL-NEXT: {{^}}// ENDCOMPARE{{$}}
 
-// COMPILE: Inputs/rewrite-includes3.h:1:31: warning: implicit conversion changes signedness:
+// COMPILE: Inputs{{[/\\]}}rewrite-includes3.h:1:31: warning: implicit conversion changes signedness:
 // COMPILE: rewrite-includes.c:25:12: warning: unused variable 'unused'




More information about the cfe-commits mailing list