aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-30 16:17:38 -0400
committerDavid Robillard <d@drobilla.net>2022-05-30 16:17:38 -0400
commit0ea0fb5a9624ade72fc3c1ea06ff3fa8e1c4ca7f (patch)
tree5542c78cfa245478540752188a777b00dd85df08 /.clang-format
parent12cade49c05d5ae4c388284a03a5e4fb86f2cd7c (diff)
downloadjalv-0ea0fb5a9624ade72fc3c1ea06ff3fa8e1c4ca7f.tar.gz
jalv-0ea0fb5a9624ade72fc3c1ea06ff3fa8e1c4ca7f.tar.bz2
jalv-0ea0fb5a9624ade72fc3c1ea06ff3fa8e1c4ca7f.zip
Build Qt moc output as a separate object
This avoids the weird cyclic dependency, and avoids including generated code in the source which can trigger many compiler and clang-tidy warnings.
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index f935f70..4692c52 100644
--- a/.clang-format
+++ b/.clang-format
@@ -22,5 +22,6 @@ IndentPPDirectives: AfterHash
KeepEmptyLinesAtTheStartOfBlocks: false
SpacesInContainerLiterals: false
StatementMacros:
+ - Q_OBJECT
- _Pragma
...