[PATCH] D108808: [clang-tidy] bugprone-infinite-loop: Fix false positives with volatile addresses.

Whisperity via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 27 01:56:58 PDT 2021


whisperity added a comment.

In D108808#2968742 <https://reviews.llvm.org/D108808#2968742>, @gribozavr2 wrote:

> In D108808#2968721 <https://reviews.llvm.org/D108808#2968721>, @whisperity wrote:
>
>> What happens for something like the following? Maybe it's also worth a test case?
>
> WDYT about the test on line 614?

Ah! The fact that the actual value was there misled me.


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108808/new/

https://reviews.llvm.org/D108808



More information about the cfe-commits mailing list