[all-commits] [llvm/llvm-project] 6ddef9: [analyzer][tests] Understand when diagnostics chan...

Valeriy Savchenko via All-commits all-commits at lists.llvm.org
Thu Aug 6 02:53:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ddef92474583ef3c183da9bdc8c8e81ec578fd8
      https://github.com/llvm/llvm-project/commit/6ddef92474583ef3c183da9bdc8c8e81ec578fd8
  Author: Valeriy Savchenko <vsavchenko at apple.com>
  Date:   2020-08-06 (Thu, 06 Aug 2020)

  Changed paths:
    M clang/utils/analyzer/CmpRuns.py

  Log Message:
  -----------
  [analyzer][tests] Understand when diagnostics change between builds

Before the patch `SATest compare`, produced quite obscure results
when something about the diagnostic have changed (i.e. its description
or the name of the corresponding checker) because it was simply two
lists of warnings, ADDED and REMOVED.  It was up to the developer
to match those warnings, understand that they are essentially the
same, and figure out what caused the difference.

This patch introduces another category of results: MODIFIED.
It tries to match new warnings against the old ones and prints out
clues on what is different between two builds.

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




More information about the All-commits mailing list