[clang][dataflow] Convert nonnull pointer parameter to a reference.
authorYitzhak Mandelbaum <yitzhakm@google.com>
Fri, 10 Feb 2023 15:02:44 +0000 (15:02 +0000)
committerYitzhak Mandelbaum <yitzhakm@google.com>
Fri, 10 Feb 2023 15:53:28 +0000 (15:53 +0000)
commita00f17d81efbd06080761aeef660e5269270a53f
tree8706588e4fabd5592c0a5131f570c8008ab00585
parentb87e53ee2ad1013104b73461b3c74cc84846a791
[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
clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp