Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid assemble step in verbose-output-quoting.c
Reviewers: hans Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D65527 llvm-svn: 370928
- Loading branch information
Yuanfang Chen
committed
Sep 4, 2019
1 parent
70becc2
commit e6b26f2
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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=\$" |