https://github.com/llvm/llvm-project/issues/35876
Ensure a namespace alias doesn't get incorrectly identifier as a namespace
namespace nn {} void f() { namespace n = nn; { int i; int j; } // namespace n=nn; }
Paths
| Differential D115647
[clang-format] FixNamespaceComments does not understand namespace aliases ClosedPublic Authored by MyDeveloperDay on Dec 13 2021, 9:40 AM.
Details Summary https://github.com/llvm/llvm-project/issues/35876 Ensure a namespace alias doesn't get incorrectly identifier as a namespace namespace nn {} void f() { namespace n = nn; { int i; int j; } // namespace n=nn; }
Diff Detail
Unit TestsFailed
Event Timeline
This revision is now accepted and ready to land.Dec 13 2021, 12:43 PM
This revision was landed with ongoing or failed builds.Dec 14 2021, 6:53 AM Closed by commit rG6482383e50a4: [clang-format] FixNamespaceComments does not understand namespace aliases (authored by MyDeveloperDay). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 394163 clang/lib/Format/NamespaceEndCommentsFixer.cpp
clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
|
It seems to be a good place for optional, nope?