[PATCH] D133930: [clang][dataflow] Replace `transfer(const Stmt *, ...)` with `transfer(const CFGElement *, ...)` in `Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel`.

weiyi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 16 15:15:42 PDT 2022


wyt updated this revision to Diff 460928.
wyt added a comment.
Herald added a subscriber: carlosgalvezp.
Herald added a project: clang-tools-extra.

Update UncheckedOptionalAccessCheck.cpp.
Remove deprecated `runDataflowAnalysis`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133930/new/

https://reviews.llvm.org/D133930

Files:
  clang-tools-extra/clang-tidy/bugprone/UncheckedOptionalAccessCheck.cpp
  clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
  clang/include/clang/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.h
  clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
  clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133930.460928.patch
Type: text/x-patch
Size: 16501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220916/b378e1f1/attachment-0001.bin>


More information about the cfe-commits mailing list