Skip to content

Commit

Permalink
resolving c++ linter
Browse files Browse the repository at this point in the history
Add #include <XXXXXX> for XXXXXX  [build/include_what_you_use] [4]
  • Loading branch information
ruck314 committed Oct 16, 2024
1 parent 8ee4172 commit 89ca11c
Show file tree
Hide file tree
Showing 16 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/package.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#include "rogue/Directives.h"

#include <cstdio>

#include <boost/python.hpp>

#include "rogue/Version.h"
Expand Down
3 changes: 3 additions & 0 deletions src/rogue/GeneralError.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

#include <stdarg.h>

#include <cstdio>
#include <string>

#ifndef NO_PYTHON
#include <boost/python.hpp>
namespace bp = boost::python;
Expand Down
3 changes: 3 additions & 0 deletions src/rogue/Logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
#include <unistd.h>

#include <memory>
#include <vector>
#include <string>
#include <cstdio>

#if defined(__linux__)
#include <sys/syscall.h>
Expand Down
1 change: 1 addition & 0 deletions src/rogue/Version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include <sstream>
#include <string>
#include <cstdio>

#include "rogue/GeneralError.h"
#include "rogue/GilRelease.h"
Expand Down
1 change: 1 addition & 0 deletions src/rogue/hardware/axi/AxiMemMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <cstring>
#include <memory>
#include <thread>
#include <string>

#include "rogue/GeneralError.h"
#include "rogue/GilRelease.h"
Expand Down
3 changes: 3 additions & 0 deletions src/rogue/hardware/axi/AxiStreamDma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
#include <stdlib.h>

#include <memory>
#include <map>
#include <cstdio>
#include <string>

#include "rogue/GeneralError.h"
#include "rogue/GilRelease.h"
Expand Down
1 change: 1 addition & 0 deletions src/rogue/interfaces/ZmqClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include <memory>
#include <string>
#include <cstdio>

#include "rogue/GeneralError.h"
#include "rogue/GilRelease.h"
Expand Down
2 changes: 2 additions & 0 deletions src/rogue/interfaces/api/Bsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
#include "rogue/interfaces/api/Bsp.h"

#include <boost/make_shared.hpp>

#include <string>
#include <memory>

#include "rogue/GeneralError.h"

Expand Down
3 changes: 3 additions & 0 deletions src/rogue/interfaces/memory/Block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
#include <iomanip>
#include <memory>
#include <sstream>
#include <vector>
#include <string>
#include <cstdio>

#include "rogue/GeneralError.h"
#include "rogue/GilRelease.h"
Expand Down
2 changes: 2 additions & 0 deletions src/rogue/interfaces/memory/Emulate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <string.h>

#include <memory>
#include <string>
#include <utility>

#include "rogue/GilRelease.h"
#include "rogue/interfaces/memory/Constants.h"
Expand Down
1 change: 1 addition & 0 deletions src/rogue/interfaces/memory/Hub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include <cmath>
#include <memory>
#include <string>

#include "rogue/GilRelease.h"
#include "rogue/ScopedGil.h"
Expand Down
1 change: 1 addition & 0 deletions src/rogue/interfaces/memory/Master.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include <cstring>
#include <memory>
#include <string>

#include "rogue/GeneralError.h"
#include "rogue/GilRelease.h"
Expand Down
1 change: 1 addition & 0 deletions src/rogue/interfaces/memory/Slave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "rogue/interfaces/memory/Slave.h"

#include <memory>
#include <string>

#include "rogue/GeneralError.h"
#include "rogue/GilRelease.h"
Expand Down
1 change: 1 addition & 0 deletions src/rogue/interfaces/memory/TcpClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include <cstring>
#include <memory>
#include <string>

#include "rogue/GeneralError.h"
#include "rogue/GilRelease.h"
Expand Down
1 change: 1 addition & 0 deletions src/rogue/interfaces/memory/TcpServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include <cstring>
#include <memory>
#include <string>

#include "rogue/GeneralError.h"
#include "rogue/GilRelease.h"
Expand Down
2 changes: 2 additions & 0 deletions src/rogue/interfaces/memory/Transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <sys/time.h>

#include <memory>
#include <string>
#include <cstdio>

#include "rogue/GeneralError.h"
#include "rogue/GilRelease.h"
Expand Down

0 comments on commit 89ca11c

Please sign in to comment.