[PATCH] D35203: Avoid white spaces in file names. NFC

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 10 09:42:43 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL307551: Avoid white spaces in file names. NFC (authored by ioeric).

Changed prior to commit:
  https://reviews.llvm.org/D35203?vs=105860&id=105871#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D35203

Files:
  cfe/trunk/test/Driver/crash report spaces.c
  cfe/trunk/test/Driver/crash-report-spaces.c


Index: cfe/trunk/test/Driver/crash-report-spaces.c
===================================================================
--- cfe/trunk/test/Driver/crash-report-spaces.c
+++ cfe/trunk/test/Driver/crash-report-spaces.c
@@ -0,0 +1,19 @@
+// RUN: rm -rf "%t"
+// RUN: mkdir "%t"
+// RUN: cp "%s" "%t/crash report spaces.c"
+// RUN: not env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTIONS=1 %clang -fsyntax-only "%t/crash report spaces.c" 2>&1 | FileCheck "%s"
+// RUN: cat "%t/crash report spaces"-*.c | FileCheck --check-prefix=CHECKSRC "%s"
+// RUN: cat "%t/crash report spaces"-*.sh | FileCheck --check-prefix=CHECKSH "%s"
+// REQUIRES: crash-recovery
+
+// because of the glob (*.c, *.sh)
+// REQUIRES: shell
+
+#pragma clang __debug parser_crash
+// CHECK: Preprocessed source(s) and associated run script(s) are located at:
+// CHECK-NEXT: note: diagnostic msg: {{.*}}.c
+FOO
+// CHECKSRC: FOO
+// CHECKSH: "-cc1"
+// CHECKSH: "-main-file-name" "crash report spaces.c"
+// CHECKSH: "crash report spaces-{{[^ ]*}}.c"
Index: cfe/trunk/test/Driver/crash report spaces.c
===================================================================
--- cfe/trunk/test/Driver/crash report spaces.c
+++ cfe/trunk/test/Driver/crash report spaces.c
@@ -1,18 +0,0 @@
-// RUN: rm -rf "%t"
-// RUN: mkdir "%t"
-// RUN: not env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTIONS=1 %clang -fsyntax-only "%s" 2>&1 | FileCheck "%s"
-// RUN: cat "%t/crash report spaces"-*.c | FileCheck --check-prefix=CHECKSRC "%s"
-// RUN: cat "%t/crash report spaces"-*.sh | FileCheck --check-prefix=CHECKSH "%s"
-// REQUIRES: crash-recovery
-
-// because of the glob (*.c, *.sh)
-// REQUIRES: shell
-
-#pragma clang __debug parser_crash
-// CHECK: Preprocessed source(s) and associated run script(s) are located at:
-// CHECK-NEXT: note: diagnostic msg: {{.*}}.c
-FOO
-// CHECKSRC: FOO
-// CHECKSH: "-cc1"
-// CHECKSH: "-main-file-name" "crash report spaces.c"
-// CHECKSH: "crash report spaces-{{[^ ]*}}.c"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35203.105871.patch
Type: text/x-patch
Size: 1966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170710/1955c4b6/attachment.bin>


More information about the cfe-commits mailing list