Remove unused and add missing deprecated.h includes (#3599)

I generated lists of includes and uses via
`rg -l deprecated.h | sort -u` and `rg -l WPI_DEPRECATED | sort -u`
respectively. If a file was in the first list but not the second, the
include was unused. If a file was in the second list but not the first,
the include needed to be added.
This commit is contained in:
Tyler Veness
2021-09-22 18:29:57 -07:00
committed by GitHub
parent f9e976467f
commit 3b8d3bbcbf
4 changed files with 1 additions and 4 deletions

View File

@@ -13,8 +13,6 @@
#include <stddef.h>
#endif
#include <wpi/deprecated.h>
#ifdef __cplusplus
extern "C" {
#endif

View File

@@ -7,6 +7,7 @@
#include <memory>
#include <hal/Types.h>
#include <wpi/deprecated.h>
#include <wpi/sendable/Sendable.h>
#include <wpi/sendable/SendableHelper.h>

View File

@@ -20,7 +20,6 @@
#include "wpi/MemAlloc.h"
#include "wpi/PointerLikeTypeTraits.h"
#include "wpi/ErrorHandling.h"
#include "wpi/deprecated.h"
#include <algorithm>
#include <cassert>
#include <cstdint>

View File

@@ -19,7 +19,6 @@
#include "wpi/SmallString.h"
#include "wpi/SmallVector.h"
#include "wpi/StringExtras.h"
#include "wpi/deprecated.h"
#include "wpi/mutex.h"
#include "wpi/raw_ostream.h"
#include "wpi/span.h"