[all-commits] [llvm/llvm-project] 870f69: Fix "pointer is null" static analyzer warnings. NFCI.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jan 10 03:11:38 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 870f6917936fdb8050be3ca3c67d9259390c4326
      https://github.com/llvm/llvm-project/commit/870f6917936fdb8050be3ca3c67d9259390c4326
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-10 (Fri, 10 Jan 2020)

  Changed paths:
    M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp

  Log Message:
  -----------
  Fix "pointer is null" static analyzer warnings. NFCI.

Assert that the pointers are non-null before dereferencing them.




More information about the All-commits mailing list