[PATCH] D122231: [clang][dataflow] Add support for `value_or` in a comparison.

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 25 12:54:19 PDT 2022


xazax.hun added inline comments.


================
Comment at: clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp:307
+      [](Environment &Env, BoolValue &HasValueVal) -> BoolValue & {
+        // We can't reason about general vlaues, so we encode the constraint on
+        // the optional's contents (namely, that it is not equal to X) as an
----------------
Typo: values.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122231



More information about the cfe-commits mailing list