[all-commits] [llvm/llvm-project] 969ab7: [clang] drop buggy use of `-serialize-diagnostics`...

Ashay Rane via All-commits all-commits at lists.llvm.org
Wed Mar 1 08:54:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 969ab7134f4df52a5887a49006c703515163ee22
      https://github.com/llvm/llvm-project/commit/969ab7134f4df52a5887a49006c703515163ee22
  Author: Ashay Rane <ashay at users.noreply.github.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M clang/test/ClangScanDeps/P1689.cppm

  Log Message:
  -----------
  [clang] drop buggy use of `-serialize-diagnostics` flag

The `-serialize-diagnostics` flag requires a filename to be passed
immediately after it, but the filename argument was skipped in the
P1689.cppm clang test.  This caused the code to incorrectly consume the
argument that followed as the dignostics file.

Since the `-serialize-diagnostics` flag isn't needed for this test to
work, this patch removes it instead of passing a file argument.

Differential Revision: https://reviews.llvm.org/D144934




More information about the All-commits mailing list