[PATCH] D145305: clang-tidy altera-id-dependent-backward-branch: fix #52790
Egor Suvorov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 4 09:38:21 PST 2023
yeputons-gh added inline comments.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/altera/id-dependent-backward-branch.cpp:128
+
+ for (int i = 0; i < NotThreadID2; i++) {
+ accumulator++;
----------------
This line previously yielded a false positive. Now it does not. More tests are created in upcoming patches.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145305/new/
https://reviews.llvm.org/D145305
More information about the cfe-commits
mailing list