[all-commits] [llvm/llvm-project] 335c05: [clang][dataflow] Use NoopLattice in optional model
Sam Estep via All-commits
all-commits at lists.llvm.org
Wed Jun 29 12:21:12 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 335c05f5d19fecd5c0972ac801e58248d772a78e
https://github.com/llvm/llvm-project/commit/335c05f5d19fecd5c0972ac801e58248d772a78e
Author: Sam Estep <sam at samestep.com>
Date: 2022-06-29 (Wed, 29 Jun 2022)
Changed paths:
M clang/docs/tools/clang-formatted-files.txt
M clang/include/clang/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.h
A clang/include/clang/Analysis/FlowSensitive/NoopLattice.h
M clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
M clang/unittests/Analysis/FlowSensitive/NoopAnalysis.h
Log Message:
-----------
[clang][dataflow] Use NoopLattice in optional model
Followup to D128352. This patch pulls the `NoopLattice` class out from the `NoopAnalysis.h` test file into its own `NoopLattice.h` source file, and uses it to replace usage of `SourceLocationsLattice` in `UncheckedOptionalAccessModel`.
Reviewed By: ymandel, sgatev, gribozavr2, xazax.hun
Differential Revision: https://reviews.llvm.org/D128356
More information about the All-commits
mailing list