[PATCH] D100581: [Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 28 10:45:39 PDT 2021
lebedev.ri added a comment.
In D100581#2723329 <https://reviews.llvm.org/D100581#2723329>, @nathanchance wrote:
> In D100581#2721430 <https://reviews.llvm.org/D100581#2721430>, @nickdesaulniers wrote:
>
>> Huh, maybe not: https://godbolt.org/z/PnE1fMGWo
>
> This difference has caused some confusion already for the Linux kernel:
It's quite obviously used, since it's the condition variable for the loop.
Is clang CFG not modelling that correctly?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100581/new/
https://reviews.llvm.org/D100581
More information about the cfe-commits
mailing list