aco: make .clang-format usable with tests

Code between BEGIN_TEST and END_TEST should be indented,
and comments used by the test itself should not be reformatted.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22122>
This commit is contained in:
Georg Lehmann 2023-03-26 20:27:14 +02:00 committed by Marge Bot
parent 40a00fc065
commit dde7c5506c

View file

@ -128,3 +128,6 @@ IncludeCategories:
- Regex: '.*'
Priority: 5
MacroBlockBegin: 'BEGIN_TEST'
MacroBlockEnd: 'END_TEST'
CommentPragmas: '^(!|;|>>|~)'