From 9eadae8edc7a35f87499f58c3e3b9cec68f74a80 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Aug 2020 21:59:55 +0200 Subject: Remove stale forward declarations --- .clang-tidy | 1 - ingen/client/ClientStore.hpp | 1 - src/gui/App.hpp | 1 - src/gui/GraphBox.hpp | 1 - src/gui/GraphView.hpp | 2 -- src/gui/Port.hpp | 4 ---- src/gui/SubgraphModule.hpp | 1 - src/server/GraphImpl.hpp | 2 +- 8 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 24a6cb7f..da5849c8 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -12,7 +12,6 @@ Checks: > -*use-override, -android-cloexec-fopen, -bugprone-branch-clone, - -bugprone-forward-declaration-namespace, -bugprone-parent-virtual-call, -bugprone-signed-char-misuse, -bugprone-suspicious-string-compare, diff --git a/ingen/client/ClientStore.hpp b/ingen/client/ClientStore.hpp index 348d87a3..54eaf373 100644 --- a/ingen/client/ClientStore.hpp +++ b/ingen/client/ClientStore.hpp @@ -30,7 +30,6 @@ namespace Raul { class Path; -class Atom; } // namespace Raul namespace ingen { diff --git a/src/gui/App.hpp b/src/gui/App.hpp index fdbe5523..2e45880d 100644 --- a/src/gui/App.hpp +++ b/src/gui/App.hpp @@ -38,7 +38,6 @@ namespace ingen { class Interface; class Log; -class Port; class Serialiser; class StreamWriter; class World; diff --git a/src/gui/GraphBox.hpp b/src/gui/GraphBox.hpp index a4aabdcb..f779efd7 100644 --- a/src/gui/GraphBox.hpp +++ b/src/gui/GraphBox.hpp @@ -34,7 +34,6 @@ #include "Window.hpp" namespace Raul { -class Atom; class Path; } // namespace Raul diff --git a/src/gui/GraphView.hpp b/src/gui/GraphView.hpp index 967a6d1d..e94d6c10 100644 --- a/src/gui/GraphView.hpp +++ b/src/gui/GraphView.hpp @@ -28,8 +28,6 @@ #include #include -namespace Raul { class Atom; } - namespace ingen { class Atom; diff --git a/src/gui/Port.hpp b/src/gui/Port.hpp index 19212e3e..ba09cc24 100644 --- a/src/gui/Port.hpp +++ b/src/gui/Port.hpp @@ -25,10 +25,6 @@ #include #include -namespace Raul { -class Atom; -} // namespace Raul - namespace ingen { class URI; diff --git a/src/gui/SubgraphModule.hpp b/src/gui/SubgraphModule.hpp index 2425cdb2..ccf4ea9f 100644 --- a/src/gui/SubgraphModule.hpp +++ b/src/gui/SubgraphModule.hpp @@ -26,7 +26,6 @@ namespace ingen { namespace client { class GraphModel; -class GraphWindow; class PortModel; } // namespace client diff --git a/src/server/GraphImpl.hpp b/src/server/GraphImpl.hpp index ccd11013..cd5ef62a 100644 --- a/src/server/GraphImpl.hpp +++ b/src/server/GraphImpl.hpp @@ -29,7 +29,7 @@ #include #include -namespace raul { class Maid; } +namespace Raul { class Maid; } namespace ingen { namespace server { -- cgit v1.2.1