[all-commits] [llvm/llvm-project] bd06c4: [analyzer] Allow bindings of the CompoundLiteralRe...

Valeriy Savchenko via All-commits all-commits at lists.llvm.org
Thu May 28 04:12:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bd06c417e6c717cbe33b566d7bbaf27fb47e763a
      https://github.com/llvm/llvm-project/commit/bd06c417e6c717cbe33b566d7bbaf27fb47e763a
  Author: Valeriy Savchenko <vsavchenko at apple.com>
  Date:   2020-05-28 (Thu, 28 May 2020)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/RegionStore.cpp
    M clang/test/Analysis/compound-literals.c
    A clang/test/Analysis/retain-release-compound-literal.m
    M clang/unittests/StaticAnalyzer/StoreTest.cpp

  Log Message:
  -----------
  [analyzer] Allow bindings of the CompoundLiteralRegion

Summary:
CompoundLiteralRegions have been properly modeled before, but
'getBindingForElement` was not changed to accommodate this change
properly.

rdar://problem/46144644

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




More information about the All-commits mailing list