Skip to content

Commit

Permalink
.clang-format - add StatementAttributeLikeMacros: [emit]
Browse files Browse the repository at this point in the history
"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 llvm/llvm-project#99758

to fix the spaces around the arrow operator problem
  • Loading branch information
Allen Winter committed Oct 9, 2024
1 parent 701347e commit 07c5e7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,5 @@ SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInCStyleCastParentheses: true
SpacesInParentheses: false
StatementAttributeLikeMacros: [emit]
...

0 comments on commit 07c5e7d

Please sign in to comment.