[all-commits] [llvm/llvm-project] d93287: [scan-build] Supprot relative 'file' in cdb.

Zero Omega via All-commits all-commits at lists.llvm.org
Mon Nov 9 20:14:05 PST 2020


  Branch: refs/heads/patch_scanbuild
  Home:   https://github.com/llvm/llvm-project
  Commit: d93287cac89fd50a105ac4a59c079884b8e53e49
      https://github.com/llvm/llvm-project/commit/d93287cac89fd50a105ac4a59c079884b8e53e49
  Author: Haowei Wu <haowei at google.com>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

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

  Log Message:
  -----------
  [scan-build] Supprot relative 'file' in cdb.

Excluded folders in scan build is turned to absolute path before
comapre to 'file' in cdb. 'file' in cdb might be a path relative
to 'directory', so we need to turn it to absolute path before
comparison.

Patch by Yu Shan

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




More information about the All-commits mailing list