From 07c5e7dee6a27c998552ea64ee6145b1ac067177 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Wed, 9 Oct 2024 07:09:08 -0400 Subject: [PATCH] .clang-format - add StatementAttributeLikeMacros: [emit] "Macros which are ignored in front of a statement, as if they were an attribute. So that they are not parsed as identifier, for example for Qts emit." As recommended in https://github.com/llvm/llvm-project/issues/99758 to fix the spaces around the arrow operator problem --- .clang-format | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-format b/.clang-format index 80d48e5cff..56d1d4df3d 100644 --- a/.clang-format +++ b/.clang-format @@ -78,4 +78,5 @@ SpaceInEmptyParentheses: false SpacesInAngles: false SpacesInCStyleCastParentheses: true SpacesInParentheses: false +StatementAttributeLikeMacros: [emit] ...