forked from qt-creator/qt-creator
Adjust coding style to C++17 nested namespaces
Change-Id: I34376108d77e0faeb6498cefedb563276f42fefa Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -569,8 +569,7 @@
|
||||
...
|
||||
using namespace Utils;
|
||||
|
||||
namespace Foo {
|
||||
namespace Internal {
|
||||
namespace Foo::Internal {
|
||||
|
||||
void SomeThing::bar()
|
||||
{
|
||||
@@ -578,8 +577,7 @@
|
||||
...
|
||||
}
|
||||
...
|
||||
} // namespace Internal // or only // Internal
|
||||
} // namespace Foo // or only // Foo
|
||||
} // Foo::Internal // or // namespace Foo::Internal
|
||||
|
||||
-NOT-
|
||||
|
||||
|
Reference in New Issue
Block a user