diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2023-11-16 21:58:12 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2023-12-08 17:35:50 +0000 |
| commit | b121cb0095c8c1a060f66a8c4b118a54ebaa2551 (patch) | |
| tree | b29c02b9abbfc698522a09ad77b56a3440f5e215 /contrib/llvm-project/clang/lib/Format/WhitespaceManager.cpp | |
| parent | bdb86d1a853a919764f65fdedcea76d76e4d619b (diff) | |
| parent | fc0a8108a55ae5db3aa0e71a9877bd56f0581728 (diff) | |
Diffstat (limited to 'contrib/llvm-project/clang/lib/Format/WhitespaceManager.cpp')
| -rw-r--r-- | contrib/llvm-project/clang/lib/Format/WhitespaceManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/clang/lib/Format/WhitespaceManager.cpp b/contrib/llvm-project/clang/lib/Format/WhitespaceManager.cpp index 668ca38ad683..c1016c44a74a 100644 --- a/contrib/llvm-project/clang/lib/Format/WhitespaceManager.cpp +++ b/contrib/llvm-project/clang/lib/Format/WhitespaceManager.cpp @@ -965,7 +965,7 @@ void WhitespaceManager::alignConsecutiveDeclarations() { AlignTokens( Style, [](Change const &C) { - if (C.Tok->isOneOf(TT_FunctionDeclarationName, TT_FunctionTypeLParen)) + if (C.Tok->is(TT_FunctionDeclarationName)) return true; if (C.Tok->isNot(TT_StartOfName)) return false; |
