diff options
author | David Robillard <d@drobilla.net> | 2024-11-24 18:18:45 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-24 18:48:18 -0500 |
commit | 1876eb0bfb5152761d523db0c76fd5d81d437e57 (patch) | |
tree | d3ae0d972c68eada43b3d8098fd36ab2626bc22d /src/server | |
parent | 7099e0d3b55f5ebea9e4cb74490b396a4bb29d1e (diff) | |
download | ingen-1876eb0bfb5152761d523db0c76fd5d81d437e57.tar.gz ingen-1876eb0bfb5152761d523db0c76fd5d81d437e57.tar.bz2 ingen-1876eb0bfb5152761d523db0c76fd5d81d437e57.zip |
Remove IWYU pragmas that no longer seem necessary
In a few cases here, we could get away with just a forward declaration but IWYU
can't figure it out. Since this isn't a huge deal, just do what the tool says,
since it's overall less hassle to just do what it says.
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/ArcImpl.hpp | 4 | ||||
-rw-r--r-- | src/server/Engine.hpp | 7 | ||||
-rw-r--r-- | src/server/GraphImpl.hpp | 4 | ||||
-rw-r--r-- | src/server/InputPort.hpp | 2 | ||||
-rw-r--r-- | src/server/JackDriver.hpp | 4 | ||||
-rw-r--r-- | src/server/PortAudioDriver.hpp | 2 | ||||
-rw-r--r-- | src/server/events/Delta.hpp | 5 | ||||
-rw-r--r-- | src/server/events/Mark.hpp | 4 | ||||
-rw-r--r-- | src/server/ingen_engine.cpp | 2 | ||||
-rw-r--r-- | src/server/ingen_portaudio.cpp | 2 | ||||
-rw-r--r-- | src/server/util.hpp | 2 |
11 files changed, 11 insertions, 27 deletions
diff --git a/src/server/ArcImpl.hpp b/src/server/ArcImpl.hpp index 1a2412b5..b0914929 100644 --- a/src/server/ArcImpl.hpp +++ b/src/server/ArcImpl.hpp @@ -26,10 +26,8 @@ #include <cstdint> -// IWYU pragma: no_include "raul/Path.hpp" - namespace raul { -class Path; // IWYU pragma: keep +class Path; } // namespace raul namespace ingen::server { diff --git a/src/server/Engine.hpp b/src/server/Engine.hpp index 688297ee..e6c543d9 100644 --- a/src/server/Engine.hpp +++ b/src/server/Engine.hpp @@ -19,6 +19,7 @@ #include "Event.hpp" #include "Load.hpp" +#include "RunContext.hpp" #include "server.h" #include "types.hpp" @@ -35,12 +36,9 @@ #include <random> #include <vector> -// IWYU pragma: no_include "RunContext.hpp" -// IWYU pragma: no_include "raul/RingBuffer.hpp" - namespace raul { class Maid; -class RingBuffer; // IWYU pragma: keep +class RingBuffer; } // namespace raul namespace ingen { @@ -63,7 +61,6 @@ class GraphImpl; class LV2Options; class PostProcessor; class PreProcessor; -class RunContext; // IWYU pragma: keep class SocketListener; class Task; class UndoStack; diff --git a/src/server/GraphImpl.hpp b/src/server/GraphImpl.hpp index 234483bd..6c852106 100644 --- a/src/server/GraphImpl.hpp +++ b/src/server/GraphImpl.hpp @@ -34,8 +34,6 @@ #include <memory> #include <utility> -// IWYU pragma: no_include "CompiledGraph.hpp" - namespace raul { class Symbol; } // namespace raul @@ -44,7 +42,7 @@ namespace ingen::server { class ArcImpl; class BufferFactory; -class CompiledGraph; // IWYU pragma: keep +class CompiledGraph; class Engine; class PortImpl; class RunContext; diff --git a/src/server/InputPort.hpp b/src/server/InputPort.hpp index 19e9af74..00834dc1 100644 --- a/src/server/InputPort.hpp +++ b/src/server/InputPort.hpp @@ -17,7 +17,7 @@ #ifndef INGEN_ENGINE_INPUTPORT_HPP #define INGEN_ENGINE_INPUTPORT_HPP -#include "ArcImpl.hpp" // IWYU pragma: keep +#include "ArcImpl.hpp" #include "PortImpl.hpp" #include "types.hpp" diff --git a/src/server/JackDriver.hpp b/src/server/JackDriver.hpp index 987976e9..192604f4 100644 --- a/src/server/JackDriver.hpp +++ b/src/server/JackDriver.hpp @@ -18,11 +18,11 @@ #define INGEN_ENGINE_JACKAUDIODRIVER_HPP #include "Driver.hpp" -#include "EnginePort.hpp" // IWYU pragma: keep +#include "EnginePort.hpp" #include "types.hpp" #include <ingen/URI.hpp> -#include <ingen/memory.hpp> // IWYU pragma: keep +#include <ingen/memory.hpp> #include <lv2/atom/forge.h> #include <raul/Semaphore.hpp> diff --git a/src/server/PortAudioDriver.hpp b/src/server/PortAudioDriver.hpp index d54791c1..77d91461 100644 --- a/src/server/PortAudioDriver.hpp +++ b/src/server/PortAudioDriver.hpp @@ -18,7 +18,7 @@ #define INGEN_ENGINE_PORTAUDIODRIVER_HPP #include "Driver.hpp" -#include "EnginePort.hpp" // IWYU pragma: keep +#include "EnginePort.hpp" #include "types.hpp" #include <ingen/URI.hpp> diff --git a/src/server/events/Delta.hpp b/src/server/events/Delta.hpp index 1bbfe1ec..a2a63a71 100644 --- a/src/server/events/Delta.hpp +++ b/src/server/events/Delta.hpp @@ -18,6 +18,7 @@ #define INGEN_EVENTS_DELTA_HPP #include "ClientUpdate.hpp" +#include "CompiledGraph.hpp" #include "ControlBindings.hpp" #include "Event.hpp" #include "SetPortValue.hpp" @@ -33,9 +34,6 @@ #include <optional> #include <vector> -// IWYU pragma: no_include "CompiledGraph.hpp" -// IWYU pragma: no_include <algorithm> - namespace ingen { class Interface; @@ -45,7 +43,6 @@ struct SetProperty; namespace server { -class CompiledGraph; // IWYU pragma: keep class Engine; class GraphImpl; class PreProcessContext; diff --git a/src/server/events/Mark.hpp b/src/server/events/Mark.hpp index eb99c5a9..c98ca0d9 100644 --- a/src/server/events/Mark.hpp +++ b/src/server/events/Mark.hpp @@ -17,14 +17,13 @@ #ifndef INGEN_EVENTS_MARK_HPP #define INGEN_EVENTS_MARK_HPP +#include "CompiledGraph.hpp" #include "Event.hpp" #include "types.hpp" #include <map> #include <memory> -// IWYU pragma: no_include "CompiledGraph.hpp" - namespace ingen { class Interface; @@ -33,7 +32,6 @@ struct BundleEnd; namespace server { -class CompiledGraph; // IWYU pragma: keep class Engine; class GraphImpl; class PreProcessContext; diff --git a/src/server/ingen_engine.cpp b/src/server/ingen_engine.cpp index a45c6d7c..48955143 100644 --- a/src/server/ingen_engine.cpp +++ b/src/server/ingen_engine.cpp @@ -22,8 +22,6 @@ #include <memory> -// IWYU pragma: no_include "ingen/Atom.hpp" - namespace ingen { struct EngineModule : public Module { diff --git a/src/server/ingen_portaudio.cpp b/src/server/ingen_portaudio.cpp index 36cedbe0..68b1b0bc 100644 --- a/src/server/ingen_portaudio.cpp +++ b/src/server/ingen_portaudio.cpp @@ -23,8 +23,6 @@ #include <memory> -// IWYU pragma: no_include "ingen/FilePath.hpp" - namespace ingen::server { class Driver; diff --git a/src/server/util.hpp b/src/server/util.hpp index f1fddf05..abfa06b6 100644 --- a/src/server/util.hpp +++ b/src/server/util.hpp @@ -20,7 +20,7 @@ #include <ingen/Log.hpp> #ifdef __SSE__ -#include <xmmintrin.h> // IWYU pragma: keep +#include <xmmintrin.h> #endif #ifdef __clang__ |