diff options
author | Emilia Dreamer <emilia@rymiel.space> | 2022-11-17 11:35:43 +0200 |
---|---|---|
committer | Emilia Dreamer <emilia@rymiel.space> | 2022-11-17 11:38:28 +0200 |
commit | 48a932e13e04a21f4422d962bf1bb4667a670e41 (patch) | |
tree | 655097af14df6615947576d4e3a010c66d76cb23 /llvm/lib/CodeGen/MachineCombiner.cpp | |
parent | df6f4b85138f86be73d58ff3f511df5306cc4b4d (diff) | |
download | llvm-48a932e13e04a21f4422d962bf1bb4667a670e41.zip llvm-48a932e13e04a21f4422d962bf1bb4667a670e41.tar.gz llvm-48a932e13e04a21f4422d962bf1bb4667a670e41.tar.bz2 |
[clang-format] Remove special case for kw_operator when aligning decls
This change breaks no existing tests but does fix the linked issue.
Declarations of operator overloads are annotated with
`TT_FunctionDeclarationName` on the `operator` keyword, which is already
being checked for when aligning, so the extra `kw_operator` doesn't seem
to be necessary. (just for reference, it was added in
rG92b397fb9d55ccdf4632c2b1b15b4a0ee417cf74 / 92b397fb9d55ccdf4632c2b1b15b4a0ee417cf74)
Fixes https://github.com/llvm/llvm-project/issues/55733
Reviewed By: HazardyKnusperkeks, owenpan
Differential Revision: https://reviews.llvm.org/D137223
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions