[all-commits] [llvm/llvm-project] f34639: [Analyzer] Minor cleanups in StreamChecker

Marco Antognini via All-commits all-commits at lists.llvm.org
Mon May 2 08:50:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f34639828f5a99e6d724c092cc164be0c30a9f71
      https://github.com/llvm/llvm-project/commit/f34639828f5a99e6d724c092cc164be0c30a9f71
  Author: Marco Antognini <marco.antognini at sonarsource.com>
  Date:   2022-05-02 (Mon, 02 May 2022)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp

  Log Message:
  -----------
  [Analyzer] Minor cleanups in StreamChecker

Remove unnecessary conversion to Optional<> and incorrect assumption
that BindExpr can return a null state.

Reviewed By: steakhal

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




More information about the All-commits mailing list