0.2.0-dev Download ZIP
12 lines ·769 B Raw
| 1 | # GLSL-specific rules. |
| 2 | # The rules will be the same as .clang-format, except those explicitly mentioned. |
| 3 | BasedOnStyle: InheritParentConfig |
| 4 | # `uniform` and `buffer` not recognized as object-like containers. |
| 5 | RemoveSemicolon: false |
| 6 | # NOTE: This is a duplicated value from the main config to work around a bug in clang-format when |
| 7 | # inheriting a parent config. This value changed to a boolean in v22, and automatically resolves |
| 8 | # "DontAlign" to "false". However, it does *not* perform this resolution in an inherited file, |
| 9 | # which causes the value to fallback to the LLVM value: "true". When comparing `--dump-config` |
| 10 | # outputs, this is the only instance of this happening, but future major version bumps should |
| 11 | # ratify this as well. |
| 12 | AlignAfterOpenBracket: DontAlign |