[PATCH] D133698: [clang][dataflow] SignAnalysis, edgeTransfer, branchTransfer

Daniel Krupp via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 16 01:00:35 PDT 2022


dkrupp added inline comments.


================
Comment at: clang/unittests/Analysis/FlowSensitive/SignAnalysisTest.cpp:241
+                        ? SignLattice(R.Val.getInt().getExtValue())
+                        : SignLattice::bottom();
+      } else {
----------------
Isn't this SignLattice::top() instead?

This is an initialization expression, which we cannot evaluate to int, but the variable is initialized.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133698



More information about the cfe-commits mailing list