diff options
author | Carlos Galvez <carlosgalvezp@gmail.com> | 2023-03-26 13:06:37 +0000 |
---|---|---|
committer | Carlos Galvez <carlosgalvezp@gmail.com> | 2023-03-26 16:41:17 +0000 |
commit | 556600af6a8a7f241277f7a22c3e3746e7b09123 (patch) | |
tree | 36dff2e6b1c25f2ff1b1080efdf2019738c31f5a /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 938deaad8ac92d9a45db8ef2d8a71fbf04958d90 (diff) | |
download | llvm-556600af6a8a7f241277f7a22c3e3746e7b09123.zip llvm-556600af6a8a7f241277f7a22c3e3746e7b09123.tar.gz llvm-556600af6a8a7f241277f7a22c3e3746e7b09123.tar.bz2 |
[clang-tidy] Add option to ignore user-defined literals in readability-magic-numbers
Some user-defined literals operate on implementation-defined types, like
"unsigned long long" and "long double", which are not well supported by
this check. Currently, the check gives warnings when using UDLs, without
giving possiblity to the user to whitelist common UDLs. A good compromise
until a proper fix is found (if any) is to allow the user to disable
warnings on UDLs.
Partially fixes #61656
Differential Revision: https://reviews.llvm.org/D146913
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions