-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed as not planned
Labels
clang-formatquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Description
clang format does not seem to differentiate between introducing a namespace and a name space alias.
If I have the code
namespace Foo
{
namespace Bar = Baz;
}
If I have "NamespaceIndentation: None" the namespace Bar = Baz; will have it's indentation removed.
namespace Foo
{
namespace Bar = Baz;
}
It would be nice to control this separately. In particular to treat the indetation of namespace aliases as distinct from introducting a new namespace. So in the above to leave the namespace alias indented even with "NamespaceIndentation: None"
Metadata
Metadata
Assignees
Labels
clang-formatquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!