[all-commits] [llvm/llvm-project] 09b462: [clang][dataflow] Drop optional model's dependency...
Yitzhak Mandelbaum via All-commits
all-commits at lists.llvm.org
Mon Apr 17 11:04:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 09b462ef8539433f56d1a6d2cc807db9a56072e6
https://github.com/llvm/llvm-project/commit/09b462ef8539433f56d1a6d2cc807db9a56072e6
Author: Yitzhak Mandelbaum <yitzhakm at google.com>
Date: 2023-04-17 (Mon, 17 Apr 2023)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
Log Message:
-----------
[clang][dataflow] Drop optional model's dependency on libc++ internals.
Adjusts the matchers in the optional model to avoid dependency on internal
implementation details of libc++'s `std::optional`. In the process, factors out
the code to check the name of these types so that it's shared throughout.
Differential Revision: https://reviews.llvm.org/D148377
More information about the All-commits
mailing list