[PATCH] D65527: Avoid assemble step in verbose-output-quoting.c

Yuanfang Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 3 21:50:17 PDT 2019


ychen updated this revision to Diff 218588.
ychen added a comment.

Address comment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65527/new/

https://reviews.llvm.org/D65527

Files:
  clang/test/Driver/verbose-output-quoting.c


Index: clang/test/Driver/verbose-output-quoting.c
===================================================================
--- clang/test/Driver/verbose-output-quoting.c
+++ clang/test/Driver/verbose-output-quoting.c
@@ -1,10 +1,10 @@
 // REQUIRES: shell
-// RUN: %clang --verbose -DSPACE="a b"  -c %s 2>&1 | FileCheck -check-prefix=SPACE     -strict-whitespace %s
-// RUN: %clang --verbose -DQUOTES=\"\"  -c %s 2>&1 | FileCheck -check-prefix=QUOTES    -strict-whitespace %s
-// RUN: %clang --verbose -DBACKSLASH=\\ -c %s 2>&1 | FileCheck -check-prefix=BACKSLASH -strict-whitespace %s
-// RUN: %clang --verbose -DDOLLAR=\$    -c %s 2>&1 | FileCheck -check-prefix=DOLLAR    -strict-whitespace %s
+// RUN: %clang --verbose -DSPACE="a b"  -### %s 2>&1 | FileCheck -check-prefix=SPACE     -strict-whitespace %s
+// RUN: %clang --verbose -DQUOTES=\"\"  -### %s 2>&1 | FileCheck -check-prefix=QUOTES    -strict-whitespace %s
+// RUN: %clang --verbose -DBACKSLASH=\\ -### %s 2>&1 | FileCheck -check-prefix=BACKSLASH -strict-whitespace %s
+// RUN: %clang --verbose -DDOLLAR=\$    -### %s 2>&1 | FileCheck -check-prefix=DOLLAR    -strict-whitespace %s
 
-// SPACE: -cc1 {{.*}} -D "SPACE=a b"
-// QUOTES: -cc1 {{.*}} -D "QUOTES=\"\""
-// BACKSLASH: -cc1 {{.*}} -D "BACKSLASH=\\"
-// DOLLAR: -cc1 {{.*}} -D "DOLLAR=\$"
+// SPACE: "-cc1" {{.*}} "-D" "SPACE=a b"
+// QUOTES: "-cc1" {{.*}} "-D" "QUOTES=\"\""
+// BACKSLASH: "-cc1" {{.*}} "-D" "BACKSLASH=\\"
+// DOLLAR: "-cc1" {{.*}} "-D" "DOLLAR=\$"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65527.218588.patch
Type: text/x-patch
Size: 1482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190904/96474d16/attachment.bin>


More information about the cfe-commits mailing list