style: [patch 3/22] reduce include dependencies in some headers

Used cppclean to help identify useless includes and removed them. This
involved erroneously included headers, but also cases where forward
declarations could have been used rather than a full include.
This commit is contained in:
Brandon Potter
2016-11-09 14:27:40 -06:00
parent 93d8e6b898
commit a928a438b8
106 changed files with 203 additions and 166 deletions

View File

@@ -32,7 +32,7 @@
#ifndef __BASE_BITFIELD_HH__
#define __BASE_BITFIELD_HH__
#include "base/types.hh"
#include <inttypes.h>
/**
* Generate a 64-bit mask of 'nbits' 1s, right justified.

View File

@@ -32,7 +32,6 @@
#define __BASE_BITUNION_HH__
#include "base/bitfield.hh"
#include "base/types.hh"
// The following implements the BitUnion system of defining bitfields
//on top of an underlying class. This is done through the pervasive use of

View File

@@ -35,6 +35,7 @@
#include <iostream>
#include <sstream>
#include "base/misc.hh"
#include "config/use_posix_clock.hh"
#include "sim/core.hh"
#include "sim/serialize.hh"

View File

@@ -46,7 +46,8 @@
#include <sys/types.h>
#include "base/output.hh" //simout
#include "base/misc.hh"
#include "base/output.hh"
#include "base/trace.hh"
#include "debug/VNC.hh"