[clang-tools-extra] [clang-tidy] Do not lint on attribute macros (PR #164806)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 27 02:31:15 PDT 2025
================
@@ -82,17 +82,24 @@ void MacroUsageCheck::registerPPCallbacks(const SourceManager &SM,
void MacroUsageCheck::warnMacro(const MacroDirective *MD, StringRef MacroName) {
const MacroInfo *Info = MD->getMacroInfo();
StringRef Message;
+ bool PossiblyNotFunctionLike;
----------------
dingxiangfei2009 wrote:
I have chosen a positive wording `MacroBodyExpressionLike` so that it is supposedly easier to reason about. Hopefully this is better.
https://github.com/llvm/llvm-project/pull/164806
More information about the cfe-commits
mailing list