[all-commits] [llvm/llvm-project] 133a7e: [PATCH] Reland [Clang] Un-break scan-build after i...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Tue Jan 21 14:03:16 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 133a7e631cee97965e310f0d110739217427fd3d
      https://github.com/llvm/llvm-project/commit/133a7e631cee97965e310f0d110739217427fd3d
  Author: Alexandre Ganea <alexandre.ganea at ubisoft.com>
  Date:   2020-01-21 (Tue, 21 Jan 2020)

  Changed paths:
    M clang/lib/Driver/Compilation.cpp
    M clang/lib/Driver/Job.cpp
    M clang/test/Driver/cc-print-options.c
    M clang/test/Driver/cuda-simple.cu
    M clang/test/Driver/offloading-interoperability.c
    M clang/test/Driver/option-aliases.c

  Log Message:
  -----------
  [PATCH] Reland [Clang] Un-break scan-build after integrated-cc1 change

The issue was reported by @xazax.hun here: https://reviews.llvm.org/D69825#1827826

"This patch (D69825) breaks scan-build-py which parses the output of "-###" to get -cc1 command. There might be other tools with the same problems. Could we either remove (in-process) from CC1Command::Print or add a line break?

Having the last line as a valid invocation is valuable and there might be tools relying on that."

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




More information about the All-commits mailing list