[llvm] [libsycl] Generic code cleanup (PR #224330)
Sergey Semenov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 15:08:08 PDT 2026
================
@@ -95,8 +95,8 @@ template <typename Derived, int Dimensions> class IndexSpaceBase {
friend bool operator==(const IndexSpaceBase<Derived, Dimensions> &lhs,
const IndexSpaceBase<Derived, Dimensions> &rhs) {
- for (int i = 0; i < Dimensions; ++i) {
- if (lhs.MArray[i] != rhs.MArray[i]) {
+ for (int I = 0; I < Dimensions; ++I) {
+ if (lhs.MArray[I] != rhs.MArray[I]) {
----------------
sergey-semenov wrote:
Not necessarily as part of this PR, but we should drop the braces here as well.
https://github.com/llvm/llvm-project/pull/224330
More information about the llvm-commits
mailing list