[all-commits] [llvm/llvm-project] a00f17: [clang][dataflow] Convert nonnull pointer paramete...

Yitzhak Mandelbaum via All-commits all-commits at lists.llvm.org
Fri Feb 10 07:53:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a00f17d81efbd06080761aeef660e5269270a53f
      https://github.com/llvm/llvm-project/commit/a00f17d81efbd06080761aeef660e5269270a53f
  Author: Yitzhak Mandelbaum <yitzhakm at google.com>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

  Changed paths:
    M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
    M clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
    M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp

  Log Message:
  -----------
  [clang][dataflow] Convert nonnull pointer parameter to a reference.

The parameter in question belongs to a function that is only called once. This patch updates the API to use a reference and changes the caller accordingly.

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




More information about the All-commits mailing list