[clang][NFC] Fix location of 2>&1 in a few -print tests
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 15 Mar 2023 17:46:51 +0000 (13:46 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Sat, 25 Mar 2023 19:57:20 +0000 (15:57 -0400)
commit731264b0c2af7aa46bd39625202a99e06cfccff9
treed999a5166d9c57d6ee79acb5ad2e765ea6a43cd4
parent3b00bae9a9f79bade0f4c67379d8f32d1d0271e3
[clang][NFC] Fix location of 2>&1 in a few -print tests

While it's apparently valid to place Bash redirections anywhere in a
command-line, it is by far most frequently placed last. This changes
a few tests that did not conform to this convention and which I
originally thought were wrong.

Differential Revision: https://reviews.llvm.org/D146155
clang/test/Driver/print-effective-triple.c
clang/test/Driver/print-file-name.c
clang/test/Driver/print-libgcc-file-name-clangrt.c
clang/test/Driver/print-multi-directory.c
clang/test/Driver/print-target-triple.c