diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-02-02 23:16:30 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-02-02 23:16:30 +0000 |
commit | c16cc77917052ea01c6faad888d990727ed3ce3a (patch) | |
tree | 8a8a151295929c516cd45d2ce9056a503b72a542 /clang/test/Frontend | |
parent | 508da4156aa6b0fd9c4a0146922268d6320fb679 (diff) | |
download | bcm5719-llvm-c16cc77917052ea01c6faad888d990727ed3ce3a.tar.gz bcm5719-llvm-c16cc77917052ea01c6faad888d990727ed3ce3a.zip |
Replace uses of %T with %t in from previous frontend test differential
After committing a change I had made to a few frontend tests, it was pointed
out to me that %T is being deprecated in LLVM in favor of %t. This change
simply converts usages of %T to %t while maintaining the integrity of the test.
Previous revision where this discussion took place:
https://reviews.llvm.org/D50563
Differential Revision: https://reviews.llvm.org/D57592
Patch from Justice Adams <justice.adams@sony.com>!
llvm-svn: 352971
Diffstat (limited to 'clang/test/Frontend')
-rw-r--r-- | clang/test/Frontend/output-failures.c | 2 | ||||
-rw-r--r-- | clang/test/Frontend/stats-file.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Frontend/output-failures.c b/clang/test/Frontend/output-failures.c index 61f8a0d9e47..33d47824c0c 100644 --- a/clang/test/Frontend/output-failures.c +++ b/clang/test/Frontend/output-failures.c @@ -1,4 +1,4 @@ -// RUN: not %clang_cc1 -emit-llvm -o %T/doesnotexist/somename %s 2> %t +// RUN: not %clang_cc1 -emit-llvm -o %t/doesnotexist/somename %s 2> %t // RUN: FileCheck -check-prefix=OUTPUTFAIL -input-file=%t %s // OUTPUTFAIL: error: unable to open output file '{{.*}}doesnotexist{{.}}somename': '{{[nN]}}o such file or directory' diff --git a/clang/test/Frontend/stats-file.c b/clang/test/Frontend/stats-file.c index 8b4ed194511..c4aa329828f 100644 --- a/clang/test/Frontend/stats-file.c +++ b/clang/test/Frontend/stats-file.c @@ -4,5 +4,5 @@ // ... here come some json values ... // CHECK: } -// RUN: %clang_cc1 -emit-llvm -o %t -stats-file=%T/doesnotexist/bla %s 2>&1 | FileCheck -check-prefix=OUTPUTFAIL %s +// RUN: %clang_cc1 -emit-llvm -o %t -stats-file=%t/doesnotexist/bla %s 2>&1 | FileCheck -check-prefix=OUTPUTFAIL %s // OUTPUTFAIL: warning: unable to open statistics output file '{{.*}}doesnotexist{{.}}bla': '{{[Nn]}}o such file or directory' |