[all-commits] [llvm/llvm-project] 0aba69: [analyzer] Add test directory for scan-build.

Devin Coughlin via All-commits all-commits at lists.llvm.org
Mon Nov 4 20:26:57 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0aba69eb1a01c44185009f50cc633e3c648e9950
      https://github.com/llvm/llvm-project/commit/0aba69eb1a01c44185009f50cc633e3c648e9950
  Author: Devin Coughlin <dcoughlin at apple.com>
  Date:   2019-11-04 (Mon, 04 Nov 2019)

  Changed paths:
    A clang/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c
    A clang/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c
    A clang/test/Analysis/scan-build/Inputs/single_null_dereference.c
    A clang/test/Analysis/scan-build/exclude_directories.test
    A clang/test/Analysis/scan-build/help.test
    A clang/test/Analysis/scan-build/html_output.test
    A clang/test/Analysis/scan-build/plist_html_output.test
    A clang/test/Analysis/scan-build/plist_output.test
    M clang/test/lit.cfg.py
    M llvm/utils/lit/lit/llvm/config.py

  Log Message:
  -----------
  [analyzer] Add test directory for scan-build.

The static analyzer's scan-build script is critical infrastructure but
is not well tested. To start to address this, add a new test directory under
tests/Analysis for scan-build lit tests and seed it with several tests. The
goal is that future scan-build changes will be accompanied by corresponding
tests.

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




More information about the All-commits mailing list