[PATCH] D139360: [clang][dataflow] Support (in)equality operators in `optional` model.

Yitzhak Mandelbaum via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 5 12:53:11 PST 2022


ymandel created this revision.
ymandel added reviewers: xazax.hun, sgatev.
Herald added subscribers: martong, rnkovacs.
Herald added a reviewer: NoQ.
Herald added a project: All.
ymandel requested review of this revision.
Herald added a project: clang.

This patch adds interpretation of the overloaded equality and inequality
operators available for the optional types.

Fixes issue #57253.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139360

Files:
  clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
  clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139360.480210.patch
Type: text/x-patch
Size: 21392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221205/3943c1b0/attachment-0001.bin>


More information about the cfe-commits mailing list