[all-commits] [llvm/llvm-project] ff4abe: [scan-build-py] Fix exception on shutdown with sar...

Anders Waldenborg via All-commits all-commits at lists.llvm.org
Fri Jun 10 14:23:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff4abe755279a3a47cc416ef80dbc900d9a98a19
      https://github.com/llvm/llvm-project/commit/ff4abe755279a3a47cc416ef80dbc900d9a98a19
  Author: Anders Waldenborg <anders at 0x63.nu>
  Date:   2022-06-10 (Fri, 10 Jun 2022)

  Changed paths:
    M clang/tools/scan-build-py/lib/libscanbuild/analyze.py

  Log Message:
  -----------
  [scan-build-py] Fix exception on shutdown with sarif-html output format

When running scan-build-py's analyze-build script with output format set
to sarif & html it wants to print a message on how to look at the
defects mentioning the directory name twice.

But the path argument was only given once to the logging function,
causing "TypeError: not enough arguments for format string" exception.

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




More information about the All-commits mailing list