Ignore clang-format for GUI snippets
Among other things, this allows for ignoring proper indentation of code that's contained in a wrapper function which serves the purpose of compiling the snippet only. This is useful because the extra indentation is included in the output generated by QDoc. Task-number: QTBUG-84470 Change-Id: I3d702e82169a87447939f357cbee15cb0f74a391 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
parent
9a921d78e8
commit
55d0bcaf92
2
src/gui/doc/snippets/_clang-format
Normal file
2
src/gui/doc/snippets/_clang-format
Normal file
@ -0,0 +1,2 @@
|
||||
# Ignore formatting of snippet code.
|
||||
DisableFormat: true
|
Loading…
Reference in New Issue
Block a user