diff options
author | Congcong Cai <congcongcai0907@163.com> | 2024-09-16 10:16:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 10:16:48 +0800 |
commit | 0c55ad11ab3857056bb3917fdf087c4aa811b790 (patch) | |
tree | 2b479c927a3087e63663fcdef51eaf74f2a64dbc /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 61ff1cb452e49d41e63061bac4aebafe2e9e2209 (diff) | |
download | llvm-0c55ad11ab3857056bb3917fdf087c4aa811b790.zip llvm-0c55ad11ab3857056bb3917fdf087c4aa811b790.tar.gz llvm-0c55ad11ab3857056bb3917fdf087c4aa811b790.tar.bz2 |
[clang-tidy] fix false positive that floating point variable only used in increment expr in cert-flp30-c (#108706)
Fixes: #108049
cert-flp30-c only provides non-compliant example with normal loop.
Essentially it wants to avoid that floating point variables are used as
loop counters which are checked in condition expr and modified in
increment expr.
This patch wants to give more precise matcheres to identify this cases.
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions