Skip to content

Commit

Permalink
Be specific of what includes we need from surelog.
Browse files Browse the repository at this point in the history
The kitchen-sink include file Surelog/surelog.h makes things
look simple, but it also hides what we actually want.
So apply IWYU principle and only include what we need.

This will help us long-term to tackle
chipsalliance/Surelog#3568

Signed-off-by: Henner Zeller <[email protected]>
  • Loading branch information
hzeller authored and mandrys committed May 31, 2023
1 parent 2a58635 commit dc1be15
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions systemverilog-plugin/uhdmsurelogastfrontend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@

#include <list>

#include "Surelog/ErrorReporting/Report.h"
#include "Surelog/surelog.h"
#include "Surelog/API/Surelog.h"
#include "Surelog/CommandLine/CommandLineParser.h"
#include "Surelog/ErrorReporting/ErrorContainer.h"
#include "Surelog/SourceCompile/SymbolTable.h"

namespace UHDM
{
Expand Down

0 comments on commit dc1be15

Please sign in to comment.