Fix .clang-format to recognize ETL macros as attributes

This commit is contained in:
Roland Reichwein 2026-04-01 22:43:04 +02:00 committed by John Wellbelove
parent c536a39f0a
commit 09dd40d4dd

View File

@ -99,6 +99,15 @@ AttributeMacros:
- ETL_NODISCARD
- ETL_NORETURN
- ETL_DEPRECATED
- ETL_CONSTEXPR
- ETL_CONSTEXPR14
Macros:
- ETL_CONSTEXPR=constexpr
- ETL_CONSTEXPR14=constexpr
- ETL_NODISCARD=[[nodiscard]]
- ETL_NORETURN=[[noreturn]]
- ETL_DEPRECATED=[[deprecated]]
# Macros that behave like type names
TypenameMacros: