[all-commits] [llvm/llvm-project] 717cd1: [clang-format] Fix namespace end comments fixer wi...
Marek Kurdej via All-commits
all-commits at lists.llvm.org
Fri Jan 14 02:41:27 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 717cd16e85faa6498cf6c46838241b0e7ddaaaba
https://github.com/llvm/llvm-project/commit/717cd16e85faa6498cf6c46838241b0e7ddaaaba
Author: Marek Kurdej <marek.kurdej+llvm.org at gmail.com>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M clang/lib/Format/NamespaceEndCommentsFixer.cpp
M clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
Log Message:
-----------
[clang-format] Fix namespace end comments fixer with anonymous namespaces.
Previously, a strange trailing comment was produced:
```
namespace out { namespace {
}} // namespace out::
```
(mind the "out::").
Reviewed By: MyDeveloperDay, owenpan
Differential Revision: https://reviews.llvm.org/D117289
More information about the All-commits
mailing list