diff options
author | David Robillard <d@drobilla.net> | 2020-08-01 21:36:41 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 01:48:48 +0200 |
commit | 7bf68773bc946f3e0fe4c25b05082ca4b068a593 (patch) | |
tree | cc09ecb9c32d4d2606ac3a4f563e06ddfa9eb5f8 | |
parent | c0de5d2620cc1ee227ff2c64ef163e308ba19cb4 (diff) | |
download | ingen-7bf68773bc946f3e0fe4c25b05082ca4b068a593.tar.gz ingen-7bf68773bc946f3e0fe4c25b05082ca4b068a593.tar.bz2 ingen-7bf68773bc946f3e0fe4c25b05082ca4b068a593.zip |
Clean up namespace comments
-rw-r--r-- | .clang-tidy | 2 | ||||
-rw-r--r-- | ingen/AtomReader.hpp | 2 | ||||
-rw-r--r-- | ingen/Interface.hpp | 2 | ||||
-rw-r--r-- | ingen/Node.hpp | 2 | ||||
-rw-r--r-- | ingen/SocketWriter.hpp | 2 | ||||
-rw-r--r-- | ingen/client/ClientStore.hpp | 2 | ||||
-rw-r--r-- | src/gui/App.hpp | 2 | ||||
-rw-r--r-- | src/gui/GraphBox.hpp | 4 | ||||
-rw-r--r-- | src/gui/GraphPortModule.hpp | 8 | ||||
-rw-r--r-- | src/gui/GraphView.hpp | 2 | ||||
-rw-r--r-- | src/gui/GraphWindow.hpp | 2 | ||||
-rw-r--r-- | src/gui/LoadPluginWindow.hpp | 2 | ||||
-rw-r--r-- | src/gui/NodeModule.hpp | 8 | ||||
-rw-r--r-- | src/gui/Port.hpp | 2 | ||||
-rw-r--r-- | src/gui/SubgraphModule.hpp | 7 | ||||
-rw-r--r-- | src/gui/WindowFactory.hpp | 2 | ||||
-rw-r--r-- | src/server/BlockImpl.hpp | 2 | ||||
-rw-r--r-- | src/server/Engine.hpp | 2 | ||||
-rw-r--r-- | src/server/SocketServer.hpp | 4 | ||||
-rw-r--r-- | src/server/internals/BlockDelay.hpp | 2 | ||||
-rw-r--r-- | src/server/internals/Controller.hpp | 2 | ||||
-rw-r--r-- | src/server/internals/Note.hpp | 2 | ||||
-rw-r--r-- | src/server/internals/Time.hpp | 2 | ||||
-rw-r--r-- | src/server/internals/Trigger.hpp | 2 |
24 files changed, 34 insertions, 35 deletions
diff --git a/.clang-tidy b/.clang-tidy index eee67bc7..5c490887 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -39,7 +39,6 @@ Checks: > -google-build-using-namespace, -google-default-arguments, -google-explicit-constructor, - -google-readability-namespace-comments, -google-readability-todo, -google-runtime-int, -google-runtime-references, @@ -50,7 +49,6 @@ Checks: > -hicpp-signed-bitwise, -hicpp-vararg, -llvm-header-guard, - -llvm-namespace-comment, -misc-unused-parameters, -modernize-redundant-void-arg, -modernize-use-trailing-return-type, diff --git a/ingen/AtomReader.hpp b/ingen/AtomReader.hpp index 44f7d31f..75a3c690 100644 --- a/ingen/AtomReader.hpp +++ b/ingen/AtomReader.hpp @@ -28,7 +28,7 @@ namespace Raul { class Path; -} +} // namespace Raul namespace ingen { diff --git a/ingen/Interface.hpp b/ingen/Interface.hpp index c0cdb4d9..6ce12c6a 100644 --- a/ingen/Interface.hpp +++ b/ingen/Interface.hpp @@ -33,7 +33,7 @@ namespace Raul { class Path; -} +} // namespace Raul namespace ingen { diff --git a/ingen/Node.hpp b/ingen/Node.hpp index 24e45f2a..148a9103 100644 --- a/ingen/Node.hpp +++ b/ingen/Node.hpp @@ -31,7 +31,7 @@ namespace Raul { class Path; class Symbol; -} +} // namespace Raul namespace ingen { diff --git a/ingen/SocketWriter.hpp b/ingen/SocketWriter.hpp index 2424fe24..229f7b50 100644 --- a/ingen/SocketWriter.hpp +++ b/ingen/SocketWriter.hpp @@ -26,7 +26,7 @@ namespace Raul { class Socket; -} +} // namespace Raul namespace ingen { diff --git a/ingen/client/ClientStore.hpp b/ingen/client/ClientStore.hpp index 109bd835..348d87a3 100644 --- a/ingen/client/ClientStore.hpp +++ b/ingen/client/ClientStore.hpp @@ -31,7 +31,7 @@ namespace Raul { class Path; class Atom; -} +} // namespace Raul namespace ingen { diff --git a/src/gui/App.hpp b/src/gui/App.hpp index 74e880d2..fdbe5523 100644 --- a/src/gui/App.hpp +++ b/src/gui/App.hpp @@ -51,7 +51,7 @@ class PluginModel; class PortModel; class SigClientInterface; -} +} // namespace client namespace gui { diff --git a/src/gui/GraphBox.hpp b/src/gui/GraphBox.hpp index 175ad392..a4aabdcb 100644 --- a/src/gui/GraphBox.hpp +++ b/src/gui/GraphBox.hpp @@ -36,7 +36,7 @@ namespace Raul { class Atom; class Path; -} +} // namespace Raul namespace ingen { @@ -46,7 +46,7 @@ namespace client { class GraphModel; class PortModel; class ObjectModel; -} +} // namespace client namespace gui { diff --git a/src/gui/GraphPortModule.hpp b/src/gui/GraphPortModule.hpp index cad3bfc5..2bc5111b 100644 --- a/src/gui/GraphPortModule.hpp +++ b/src/gui/GraphPortModule.hpp @@ -23,11 +23,11 @@ #include <string> -namespace Raul { class Atom; } - -namespace ingen { namespace client { +namespace ingen { +namespace client { class PortModel; -} } +} // namespace client +} // namespace ingen namespace ingen { namespace gui { diff --git a/src/gui/GraphView.hpp b/src/gui/GraphView.hpp index d10700eb..967a6d1d 100644 --- a/src/gui/GraphView.hpp +++ b/src/gui/GraphView.hpp @@ -40,7 +40,7 @@ class PortModel; class MetadataModel; class GraphModel; class ObjectModel; -} +} // namespace client namespace gui { diff --git a/src/gui/GraphWindow.hpp b/src/gui/GraphWindow.hpp index e3d30d4c..96558d16 100644 --- a/src/gui/GraphWindow.hpp +++ b/src/gui/GraphWindow.hpp @@ -30,7 +30,7 @@ namespace ingen { namespace client { class GraphModel; -} +} // namespace client namespace gui { diff --git a/src/gui/LoadPluginWindow.hpp b/src/gui/LoadPluginWindow.hpp index afbe110a..f65dfff5 100644 --- a/src/gui/LoadPluginWindow.hpp +++ b/src/gui/LoadPluginWindow.hpp @@ -38,7 +38,7 @@ namespace ingen { namespace client { class GraphModel; class PluginModel; -} +} // namespace client namespace gui { diff --git a/src/gui/NodeModule.hpp b/src/gui/NodeModule.hpp index ed5914de..f7102d80 100644 --- a/src/gui/NodeModule.hpp +++ b/src/gui/NodeModule.hpp @@ -22,13 +22,13 @@ #include "Port.hpp" -namespace Raul { class Atom; } - -namespace ingen { namespace client { +namespace ingen { +namespace client { class BlockModel; class PluginUI; class PortModel; -} } +} // namespace client +} // namespace ingen namespace ingen { namespace gui { diff --git a/src/gui/Port.hpp b/src/gui/Port.hpp index c95c93ef..19212e3e 100644 --- a/src/gui/Port.hpp +++ b/src/gui/Port.hpp @@ -27,7 +27,7 @@ namespace Raul { class Atom; -} +} // namespace Raul namespace ingen { diff --git a/src/gui/SubgraphModule.hpp b/src/gui/SubgraphModule.hpp index c332d676..2425cdb2 100644 --- a/src/gui/SubgraphModule.hpp +++ b/src/gui/SubgraphModule.hpp @@ -22,13 +22,14 @@ #include "GraphPortModule.hpp" #include "NodeModule.hpp" -namespace ingen { namespace client { +namespace ingen { + +namespace client { class GraphModel; class GraphWindow; class PortModel; -} } +} // namespace client -namespace ingen { namespace gui { class GraphCanvas; diff --git a/src/gui/WindowFactory.hpp b/src/gui/WindowFactory.hpp index fad5b308..e6eeb449 100644 --- a/src/gui/WindowFactory.hpp +++ b/src/gui/WindowFactory.hpp @@ -29,7 +29,7 @@ namespace client { class BlockModel; class ObjectModel; class GraphModel; -} +} // namespace client namespace gui { diff --git a/src/server/BlockImpl.hpp b/src/server/BlockImpl.hpp index 8c947e68..0a8bc386 100644 --- a/src/server/BlockImpl.hpp +++ b/src/server/BlockImpl.hpp @@ -38,7 +38,7 @@ namespace Raul { class Symbol; -} +} // namespace Raul namespace ingen { namespace server { diff --git a/src/server/Engine.hpp b/src/server/Engine.hpp index c62a8d94..cfbc351d 100644 --- a/src/server/Engine.hpp +++ b/src/server/Engine.hpp @@ -38,7 +38,7 @@ namespace Raul { class Maid; class RingBuffer; -} +} // namespace Raul namespace ingen { diff --git a/src/server/SocketServer.hpp b/src/server/SocketServer.hpp index cd5afb25..26e1456b 100644 --- a/src/server/SocketServer.hpp +++ b/src/server/SocketServer.hpp @@ -78,7 +78,7 @@ private: SPtr<SocketWriter> _writer; }; -} // namespace ingen -} // namespace Socket +} // namespace server +} // namespace ingen #endif // INGEN_SERVER_SOCKET_SERVER_HPP diff --git a/src/server/internals/BlockDelay.hpp b/src/server/internals/BlockDelay.hpp index 3c84ff39..7da12cb4 100644 --- a/src/server/internals/BlockDelay.hpp +++ b/src/server/internals/BlockDelay.hpp @@ -55,8 +55,8 @@ private: BufferRef _buffer; }; +} // namespace internals } // namespace server } // namespace ingen -} // namespace internals #endif // INGEN_INTERNALS_BLOCKDELAY_HPP diff --git a/src/server/internals/Controller.hpp b/src/server/internals/Controller.hpp index 9c24fa49..bb3c8369 100644 --- a/src/server/internals/Controller.hpp +++ b/src/server/internals/Controller.hpp @@ -66,8 +66,8 @@ private: bool _learning; }; +} // namespace internals } // namespace server } // namespace ingen -} // namespace internals #endif // INGEN_INTERNALS_CONTROLLER_HPP diff --git a/src/server/internals/Note.hpp b/src/server/internals/Note.hpp index 0a7d80c9..48320ac3 100644 --- a/src/server/internals/Note.hpp +++ b/src/server/internals/Note.hpp @@ -104,8 +104,8 @@ private: OutputPort* _pressure_port; }; +} // namespace internals } // namespace server } // namespace ingen -} // namespace internals #endif // INGEN_INTERNALS_NOTE_HPP diff --git a/src/server/internals/Time.hpp b/src/server/internals/Time.hpp index 3cf6983d..85d5199e 100644 --- a/src/server/internals/Time.hpp +++ b/src/server/internals/Time.hpp @@ -52,8 +52,8 @@ private: OutputPort* _notify_port; }; +} // namespace internals } // namespace server } // namespace ingen -} // namespace internals #endif // INGEN_INTERNALS_TIME_HPP diff --git a/src/server/internals/Trigger.hpp b/src/server/internals/Trigger.hpp index 17ae12e3..17671098 100644 --- a/src/server/internals/Trigger.hpp +++ b/src/server/internals/Trigger.hpp @@ -70,8 +70,8 @@ private: OutputPort* _vel_port; }; +} // namespace internals } // namespace server } // namespace ingen -} // namespace internals #endif // INGEN_INTERNALS_TRIGGER_HPP |