mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Fix .clang-format to recognize ETL macros as attributes
This commit is contained in:
parent
c536a39f0a
commit
09dd40d4dd
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user