[all-commits] [llvm/llvm-project] 731264: [clang][NFC] Fix location of 2>&1 in a few -print ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Sat Mar 25 12:58:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 731264b0c2af7aa46bd39625202a99e06cfccff9
      https://github.com/llvm/llvm-project/commit/731264b0c2af7aa46bd39625202a99e06cfccff9
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-03-25 (Sat, 25 Mar 2023)

  Changed paths:
    M clang/test/Driver/print-effective-triple.c
    M clang/test/Driver/print-file-name.c
    M clang/test/Driver/print-libgcc-file-name-clangrt.c
    M clang/test/Driver/print-multi-directory.c
    M clang/test/Driver/print-target-triple.c

  Log Message:
  -----------
  [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




More information about the All-commits mailing list