[PATCH] D151201: [clang][dataflow] Fix a crash in `getLogicOperatorSubExprValue()`.

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 24 19:58:11 PDT 2023


xazax.hun added inline comments.


================
Comment at: clang/unittests/Analysis/FlowSensitive/TransferTest.cpp:5064
+    bool target() {
+      return true || false || false || false;
+    }
----------------
Should we also test that the value of the expression is `true` in the analysis state?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151201



More information about the cfe-commits mailing list