[all-commits] [llvm/llvm-project] 9d2e83: [analyzer] Fix BindingDecl evaluation for referenc...

isuckatcs via All-commits all-commits at lists.llvm.org
Wed Jun 29 04:01:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d2e830737bcf8035cf263e4b4cb279b7b07cf24
      https://github.com/llvm/llvm-project/commit/9d2e830737bcf8035cf263e4b4cb279b7b07cf24
  Author: isuckatcs <65320245+isuckatcs at users.noreply.github.com>
  Date:   2022-06-29 (Wed, 29 Jun 2022)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/test/Analysis/structured_bindings.cpp

  Log Message:
  -----------
  [analyzer] Fix BindingDecl evaluation for reference types

The case when the bound variable is reference type in a
BindingDecl wasn't handled, which lead to false positives.

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




More information about the All-commits mailing list