diff options
author | Yitzhak Mandelbaum <yitzhakm@google.com> | 2023-07-25 18:20:19 +0000 |
---|---|---|
committer | Yitzhak Mandelbaum <yitzhakm@google.com> | 2023-07-26 17:12:29 +0000 |
commit | 1429240ed63b05991e175e623b3fa5b72e59dc5b (patch) | |
tree | 8d9e211c5ef32bfa3b768e2702371c6e7d67eaec /clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp | |
parent | e28307e93adb5305b0fc28b13072744ab1fec5e3 (diff) | |
download | llvm-1429240ed63b05991e175e623b3fa5b72e59dc5b.zip llvm-1429240ed63b05991e175e623b3fa5b72e59dc5b.tar.gz llvm-1429240ed63b05991e175e623b3fa5b72e59dc5b.tar.bz2 |
[clang][dataflow] Add convenience function for analysing and `FunctionDecl` and diagnosing it.
The convenience function captures running the analysis and then collecting
diagnostics based on a `Diagnoser` object. This pattern is valuable to
clang-tidy checks which analyze a function at a time, though it could be more
generally useful for analysis clients.
Differential Revision: https://reviews.llvm.org/D156254
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp')
0 files changed, 0 insertions, 0 deletions