[all-commits] [llvm/llvm-project] be5705: [clang-format] fix namepsace format when the name ...
Zequan Wu via All-commits
all-commits at lists.llvm.org
Fri Mar 4 16:01:35 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: be5705767aad8d8eafd40225f7dba8e7e661c6b5
https://github.com/llvm/llvm-project/commit/be5705767aad8d8eafd40225f7dba8e7e661c6b5
Author: Zequan Wu <zequanwu at google.com>
Date: 2022-03-04 (Fri, 04 Mar 2022)
Changed paths:
M clang/lib/Format/NamespaceEndCommentsFixer.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
Log Message:
-----------
[clang-format] fix namepsace format when the name is macro expansion
Originally filed at crbug.com/1184570.
When the name of a namespace is a macro that takes arguments,
- It fixed the indentation.
- It fixed the namepsace end comments.
Differential Revision: https://reviews.llvm.org/D120931
More information about the All-commits
mailing list