diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-10 14:51:13 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-10 14:51:13 +0000 |
commit | 52e60ac6ede8830774c1c78c194e7d2ccf8061cb (patch) | |
tree | 6be4b94c98d8945ab655f7bc621e3f6158be6b5e | |
parent | Make static_assert tests use boost-build compile test rule (diff) | |
download | slicer-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.cpp | 1 |
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; } |