diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2020-06-12 01:23:38 +0200 |
---|---|---|
committer | Uwe Klotz <uklotz@mixxx.org> | 2020-06-12 01:29:20 +0200 |
commit | 7f9ef47cbd480102c9c4fe44bf85c32e82f407c1 (patch) | |
tree | 2451a1dd1daa21db7659fabf840c8e50c59f81e4 /.clang-format | |
parent | 6da36e59db5993ca5b59d3f2bf081ed3bdf8f17d (diff) |
clang-format: Temporarily disable StatementMacros
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/.clang-format b/.clang-format index 0d3daf194f..48efc78b98 100644 --- a/.clang-format +++ b/.clang-format @@ -31,14 +31,15 @@ SpacesBeforeTrailingComments: 1 # StatementMacros don't require a trailing semicolon. # Trailing semicolons should be omitted after these macros # when compiling with -Wpedantic to avoid warnings. -StatementMacros: - - Q_DECLARE_FLAGS - - Q_DECLARE_METATYPE - - Q_DECLARE_OPERATORS_FOR_FLAGS - - Q_OBJECT - - Q_PROPERTY - - Q_UNUSED - - QT_REQUIRE_VERSION +# TODO: Enable if Clang 8 is available, Ubuntu 18.04 uses Clang 6 +#StatementMacros: +# - Q_DECLARE_FLAGS +# - Q_DECLARE_METATYPE +# - Q_DECLARE_OPERATORS_FOR_FLAGS +# - Q_OBJECT +# - Q_PROPERTY +# - Q_UNUSED +# - QT_REQUIRE_VERSION --- Language: JavaScript # Don't format .js files yet |