[PATCH] D135964: [clang][dataflow] Add equivalence relation for `Value` type.
Stanislav Gatev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 17 03:22:27 PDT 2022
sgatev accepted this revision.
sgatev added inline comments.
================
Comment at: clang/lib/Analysis/FlowSensitive/Value.cpp:15
+#include "llvm/Support/Casting.h"
+#include <cassert>
+
----------------
This seems unnecessary.
================
Comment at: clang/unittests/Analysis/FlowSensitive/ValueTest.cpp:30
+ EXPECT_TRUE(areEquivalentValues(V1, V2));
+ // Symmetry.
+ EXPECT_TRUE(areEquivalentValues(V2, V1));
----------------
I suggest dropping the symmetry comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135964/new/
https://reviews.llvm.org/D135964
More information about the cfe-commits
mailing list