From 8dbe8eac89c563cbbc2de5c8e281f4fd9b817328 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 14 Jan 2020 16:25:06 +0200 Subject: clang-tidy modernize-concat-nested-namespace in codemaker..configmgr Change-Id: I48452480fae169e11d60b125bbd0226b6a35a25c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86800 Tested-by: Jenkins Reviewed-by: Noel Grandin --- codemaker/source/commoncpp/commoncpp.cxx | 4 ++-- codemaker/source/commonjava/commonjava.cxx | 4 ++-- codemaker/source/cppumaker/dependencies.cxx | 4 ++-- codemaker/source/cppumaker/dumputils.cxx | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'codemaker') diff --git a/codemaker/source/commoncpp/commoncpp.cxx b/codemaker/source/commoncpp/commoncpp.cxx index 6774aedf4fba..b7eaac4ae59e 100644 --- a/codemaker/source/commoncpp/commoncpp.cxx +++ b/codemaker/source/commoncpp/commoncpp.cxx @@ -32,7 +32,7 @@ #include -namespace codemaker { namespace cpp { +namespace codemaker::cpp { OString scopedCppName(OString const & type, bool ns_alias) { @@ -293,6 +293,6 @@ OString translateUnoToCppIdentifier( } } -} } +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/codemaker/source/commonjava/commonjava.cxx b/codemaker/source/commonjava/commonjava.cxx index bdb1b02b63a7..d33969676ee6 100644 --- a/codemaker/source/commonjava/commonjava.cxx +++ b/codemaker/source/commonjava/commonjava.cxx @@ -34,7 +34,7 @@ #include -namespace codemaker { namespace java { +namespace codemaker::java { OString translateUnoToJavaType( codemaker::UnoType::Sort sort, OString const & nucleus, bool referenceType) @@ -130,6 +130,6 @@ OString translateUnoToJavaIdentifier( } } -} } +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/codemaker/source/cppumaker/dependencies.cxx b/codemaker/source/cppumaker/dependencies.cxx index 71855e2a9e47..eb257c6966af 100644 --- a/codemaker/source/cppumaker/dependencies.cxx +++ b/codemaker/source/cppumaker/dependencies.cxx @@ -35,7 +35,7 @@ #include "dependencies.hxx" -namespace codemaker { namespace cppumaker { +namespace codemaker::cppumaker { Dependencies::Dependencies( rtl::Reference< TypeManager > const & manager, OUString const & name): @@ -291,6 +291,6 @@ void Dependencies::insert(OUString const & name, Kind kind) { } } -} } +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/codemaker/source/cppumaker/dumputils.cxx b/codemaker/source/cppumaker/dumputils.cxx index ec4a586c4a17..1f993b3ef7d8 100644 --- a/codemaker/source/cppumaker/dumputils.cxx +++ b/codemaker/source/cppumaker/dumputils.cxx @@ -26,7 +26,7 @@ #include -namespace codemaker { namespace cppumaker { +namespace codemaker::cppumaker { bool dumpNamespaceOpen( FileStream & out, OUString const & entityName, bool fullModuleType) @@ -73,6 +73,6 @@ void dumpTypeIdentifier(FileStream & out, OUString const & entityName) { out << entityName.copy(entityName.lastIndexOf('.') + 1); } -} } +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.2.3