include cleanups (powered by iwyu)

This commit is contained in:
Max Kellermann
2019-07-05 09:59:00 +02:00
parent 9cdebc90a0
commit d663f81420
229 changed files with 67 additions and 397 deletions
-1
View File
@@ -32,7 +32,6 @@
#include "StringPointer.hxx"
#include <utility>
#include <algorithm>
/**
-2
View File
@@ -20,8 +20,6 @@
#ifndef MPD_DIVIDE_STRING_HXX
#define MPD_DIVIDE_STRING_HXX
#include "Compiler.h"
#include <assert.h>
/**
+1
View File
@@ -34,6 +34,7 @@
#include <exception>
#include <string>
#include <utility>
/**
* Throws the specified exception. There is an overload for
+1
View File
@@ -34,6 +34,7 @@
#include "StringBuffer.hxx"
#include "Compiler.h"
#include <stddef.h>
#include <stdint.h>
/**
-2
View File
@@ -22,8 +22,6 @@
#include "util/RuntimeError.hxx"
#include "util/StringCompare.hxx"
#include <string.h>
inline const char *
OptionParser::CheckShiftValue(const char *s, const OptionDef &option)
{
+1 -1
View File
@@ -33,7 +33,7 @@
#ifndef PRINT_EXCEPTION_HXX
#define PRINT_EXCEPTION_HXX
#include <stdexcept>
#include <exception>
/**
* Print this exception (and its nested exceptions, if any) to stderr.
-2
View File
@@ -31,8 +31,6 @@
#include "IterableSplitString.hxx"
#include "StringStrip.hxx"
#include <string.h>
std::forward_list<std::string>
SplitString(const char *s, char separator, bool strip) noexcept
{