summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-01-10 14:51:13 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-01-10 14:51:13 +0000
commit52e60ac6ede8830774c1c78c194e7d2ccf8061cb (patch)
tree6be4b94c98d8945ab655f7bc621e3f6158be6b5e
parentMake static_assert tests use boost-build compile test rule (diff)
downloadslicer-52e60ac6ede8830774c1c78c194e7d2ccf8061cb.tar.bz2
slicer-52e60ac6ede8830774c1c78c194e7d2ccf8061cb.tar.xz
slicer-52e60ac6ede8830774c1c78c194e7d2ccf8061cb.zip
Add comment to disable concat-namespaces lintingslicer-1.10.5.3
-rw-r--r--slicer/tool/parser.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}