mirror of
https://github.com/projectatomic/rpm-ostree.git
synced 2026-02-05 09:45:27 +01:00
In the clang reformatting change, we lost indentation of the bodies for `GLNX_HASH_TABLE_FOREACH` macros because `clang-format` thinks it's a function call-style macro. This can lead to misreading the code and possibly cause bugs. Thankfully, it has an option for declaring foreach-style macros. Use it and reformat the whole tree.
6 lines
185 B
YAML
6 lines
185 B
YAML
---
|
|
Language: Cpp
|
|
BasedOnStyle: GNU
|
|
ColumnLimit: 100
|
|
ForEachMacros: ['GLNX_HASH_TABLE_FOREACH', 'GLNX_HASH_TABLE_FOREACH_V', 'GLNX_HASH_TABLE_FOREACH_KV', 'GLNX_HASH_TABLE_FOREACH_IT']
|