diff options
| author | wieDasDing <6884440+dingxiangfei2009@users.noreply.github.com> | 2025-10-28 07:05:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-28 14:05:53 +0800 |
| commit | 20c323aa0e5dea6f3d340c721c5cee30801db850 (patch) | |
| tree | 148e44dbe99a355c8b59fbf5824c2b12f184ce09 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
| parent | d1c086e82af239b245fe8d7832f2753436634990 (diff) | |
| download | llvm-20c323aa0e5dea6f3d340c721c5cee30801db850.zip llvm-20c323aa0e5dea6f3d340c721c5cee30801db850.tar.gz llvm-20c323aa0e5dea6f3d340c721c5cee30801db850.tar.bz2 | |
[clang-tidy] Do not lint on attribute macros (#164806)
`cppcoreguidelines-macro-usage` lint incorrectly identifies these macros
as candidates for rewrite into template arguments. There are no,
variadic or not, equivalent to these macros using templated functions.
In short, we should not suggest code writers to rewrite this macro with
`constexpr` functions.
```c
#define FORMAT_STR(format_msg, first_idx) __attribute__((format(printf, format_msg, first_idx)))
```
Signed-off-by: Xiangfei Ding <dingxiangfei2009@protonmail.ch>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions
