[all-commits] [llvm/llvm-project] 1a27d6: [Analyzer] Only add container note tags to the ope...

Balogh, Ádám via All-commits all-commits at lists.llvm.org
Thu Mar 26 01:44:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a27d63a8891076ad9176f1a70f372003bc55c2f
      https://github.com/llvm/llvm-project/commit/1a27d63a8891076ad9176f1a70f372003bc55c2f
  Author: Adam Balogh <adam.balogh at ericsson.com>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp
    M clang/lib/StaticAnalyzer/Checkers/DebugContainerModeling.cpp
    M clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
    M clang/test/Analysis/container-modeling.cpp

  Log Message:
  -----------
  [Analyzer] Only add container note tags to the operations of the affected container

If an error happens which is related to a container the Container
Modeling checker adds note tags to all the container operations along
the bug path. This may be disturbing if there are other containers
beside the one which is affected by the bug. This patch restricts the
note tags to only the affected container and adjust the debug checkers
to be able to test this change.

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




More information about the All-commits mailing list