diff options
author | flovent <flbven@protonmail.com> | 2025-10-08 15:15:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-08 15:15:29 +0800 |
commit | 89e2d58ec8189e77c34e39b1e8c9992315ad682f (patch) | |
tree | ce349334a8ef301d580e51bbce9272728c5c4ba8 /llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp | |
parent | cac5bfac11ab352d9e96adeeebce4860ec86e032 (diff) | |
download | llvm-89e2d58ec8189e77c34e39b1e8c9992315ad682f.zip llvm-89e2d58ec8189e77c34e39b1e8c9992315ad682f.tar.gz llvm-89e2d58ec8189e77c34e39b1e8c9992315ad682f.tar.bz2 |
[clang-tidy] Fix false positives about references in `misc-const-correctness` (#160971)
It's not legal to cast const pointer type to it's non-const reference
type implicitly, and will cause compile error.
And for explicit cast, it's legal but the pointer is mutable through
this reference.
Diffstat (limited to 'llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp')
0 files changed, 0 insertions, 0 deletions