[all-commits] [llvm/llvm-project] d7227a: [clang][Analyzer] Track null stream argument in al...

Balázs Kéri via All-commits all-commits at lists.llvm.org
Tue Jun 22 02:06:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7227a5bc718940fa9bf90ba443e1dff6ded68cc
      https://github.com/llvm/llvm-project/commit/d7227a5bc718940fa9bf90ba443e1dff6ded68cc
  Author: Balázs Kéri <1.int32 at gmail.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
    M clang/test/Analysis/stream-note.c

  Log Message:
  -----------
  [clang][Analyzer] Track null stream argument in alpha.unix.Stream .

The checker contains check for passing a NULL stream argument.
This change should make more easy to identify where the passed pointer
becomes NULL.

Reviewed By: NoQ

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




More information about the All-commits mailing list