From 52e60ac6ede8830774c1c78c194e7d2ccf8061cb Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 10 Jan 2021 14:51:13 +0000 Subject: Add comment to disable concat-namespaces linting --- slicer/tool/parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/slicer/tool/parser.cpp b/slicer/tool/parser.cpp index 91407bc..0d83653 100644 --- a/slicer/tool/parser.cpp +++ b/slicer/tool/parser.cpp @@ -46,6 +46,7 @@ namespace Slicer { visitModuleStart(const Slice::ModulePtr & m) override { if (count.classes || count.structs || count.enums) { + fprintbf(cpp, "// NOLINTNEXTLINE(modernize-concat-nested-namespaces)\n"); fprintbf(cpp, "namespace %s {\n", m->name()); return true; } -- cgit v1.2.3