[all-commits] [llvm/llvm-project] 2ddd33: [analyzer] Fix scan-build and exploded-graph-rewri...

NoQ via All-commits all-commits at lists.llvm.org
Mon Apr 6 10:33:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ddd3325c4d7ab47b62a9fe72a0d1c1d8ec7f9d7
      https://github.com/llvm/llvm-project/commit/2ddd3325c4d7ab47b62a9fe72a0d1c1d8ec7f9d7
  Author: Artem Dergachev <artem.dergachev at gmail.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M clang/include/clang/Basic/JsonSupport.h
    M clang/test/Analysis/exploded-graph-rewriter/checker_messages.dot
    M clang/test/Analysis/exploded-graph-rewriter/checker_messages_diff.dot
    M clang/test/Analysis/exploded-graph-rewriter/constraints.dot
    M clang/test/Analysis/exploded-graph-rewriter/constraints_diff.dot
    M clang/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp
    M clang/test/Analysis/exploded-graph-rewriter/edge.dot
    M clang/test/Analysis/exploded-graph-rewriter/empty.dot
    M clang/test/Analysis/exploded-graph-rewriter/environment.dot
    M clang/test/Analysis/exploded-graph-rewriter/environment_diff.dot
    M clang/test/Analysis/exploded-graph-rewriter/escapes.c
    M clang/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp
    M clang/test/Analysis/exploded-graph-rewriter/lit.local.cfg
    M clang/test/Analysis/exploded-graph-rewriter/macros.c
    M clang/test/Analysis/exploded-graph-rewriter/node_labels.dot
    M clang/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp
    M clang/test/Analysis/exploded-graph-rewriter/program_points.dot
    M clang/test/Analysis/exploded-graph-rewriter/store.dot
    M clang/test/Analysis/exploded-graph-rewriter/store_diff.dot
    M clang/test/Analysis/exploded-graph-rewriter/topology.dot
    M clang/test/Analysis/exploded-graph-rewriter/trimmers.dot
    M clang/test/Analysis/scan-build/exclude_directories.test
    M clang/test/Analysis/scan-build/help.test
    M clang/test/Analysis/scan-build/html_output.test
    M clang/test/Analysis/scan-build/plist_html_output.test
    M clang/test/Analysis/scan-build/plist_output.test

  Log Message:
  -----------
  [analyzer] Fix scan-build and exploded-graph-rewriter tests on Windows.

Detect script locations in a more straightforward way: we don't need to
search for them because we know exactly where they are anyway.

Fix a file path escaping issue in exploded-graph-rewriter with Windows
backslashes in the path.

'REQUIRES: shell' remains in scan-build tests for now, so that to
observe the buildbot reaction on removing it in a cleaner experiment.

Patch by Denys Petrov!

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


  Commit: 9b1e4a8218b7fcb8900d0382704fdb4e38b52eb0
      https://github.com/llvm/llvm-project/commit/9b1e4a8218b7fcb8900d0382704fdb4e38b52eb0
  Author: Artem Dergachev <artem.dergachev at gmail.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp
    A clang/test/Analysis/SpecialFunctionsCFError.cpp

  Log Message:
  -----------
  [analyzer] Fix NSErrorChecker false positives on constructors.

Constructors and delete operators cannot return a boolean value.
Therefore they cannot possibly follow the NS/CFError-related coding
conventions.

Patch by Valeriy Savchenko!

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


Compare: https://github.com/llvm/llvm-project/compare/b36c19bc4f21...9b1e4a8218b7


More information about the All-commits mailing list