[PATCH] D121715: [Clang] Fix an unused-but-set-variable warning with volatile variable
Dávid Bolvanský via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 21 11:32:23 PDT 2022
xbolva00 added a comment.
>> This is not quite right since 'j' is indeed used due to '+=' operator.
is “set” - load, increment, store - but not used after “store”. So technically this is okay no?
If there is j = j + 1 .. do we warn ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121715/new/
https://reviews.llvm.org/D121715
More information about the cfe-commits
mailing list