#1026303 clang-tidy: clang-diagnostic-unused-macros: Spurious trigger in header guards

Package:
clang-tidy
Source:
clang-tidy
Description:
clang-based C++ linter tool
Submitter:
Alejandro Colomar
Date:
2025-11-23 06:33:01 UTC
Severity:
normal
Tags:
#1026303#5
Date:
2022-12-18 00:30:54 UTC
From:
To:
Dear maintainer,

The clang-tidy clang-diagnostic-unused-macros warning triggers on header
guards, which of course are unused.

Cheers,

Alex

#1026303#10
Date:
2022-12-18 08:55:30 UTC
From:
To:
Hello

You should report this upstream with an example;

Cheers

S

Le 18/12/2022 à 01:30, Alejandro Colomar a écrit :

#1026303#15
Date:
2022-12-18 11:20:42 UTC
From:
To:
Hi Sylvestre,

Done; thanks.

<https://github.com/llvm/llvm-project/issues/59572>

Cheers,

Alex