[all-commits] [llvm/llvm-project] fa6b7d: [StaticAnalyzer] Fix false negative on NilArgCheck...

tripleCC via All-commits all-commits at lists.llvm.org
Thu Jun 8 07:49:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa6b7dd520fc175a246c943a7c9802e4808118b1
      https://github.com/llvm/llvm-project/commit/fa6b7dd520fc175a246c943a7c9802e4808118b1
  Author: tripleCC <triplec.linux at gmail.com>
  Date:   2023-06-08 (Thu, 08 Jun 2023)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
    M clang/test/Analysis/NSContainers.m

  Log Message:
  -----------
  [StaticAnalyzer] Fix false negative on NilArgChecker when creating literal object

Fix false negative on NilArgChecker when creating literal object, such
as @[nullableObject].

Patch By tripleCC!

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




More information about the All-commits mailing list