[PATCH] D88982: [NFCI] Add LinearPolyBase as base class for ElementCount, TypeSize and StackOffset.
Christopher Tetreault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 26 12:04:31 PDT 2020
ctetreau added inline comments.
================
Comment at: llvm/include/llvm/Support/TypeSize.h:125-128
+ bool operator==(const LinearPolyBase &RHS) const {
+ return std::equal(&Coefficients[0], &Coefficients[Dimensions],
+ &RHS.Coefficients[0]);
+ }
----------------
Out of bounds array access.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88982/new/
https://reviews.llvm.org/D88982
More information about the llvm-commits
mailing list