Skip to content

[Infra] Fixed False Forward Declarations #3098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vpr/src/analytical_place/analytical_solver.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#endif // EIGEN_INSTALLED

// Forward declarations
class PartialPlacement;
struct PartialPlacement;
class APNetlist;
class AtomNetlist;
class PreClusterTimingManager;
Expand Down
2 changes: 1 addition & 1 deletion vpr/src/analytical_place/full_legalizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class APNetlist;
class AtomNetlist;
class ClusteredNetlist;
class DeviceGrid;
class PartialPlacement;
struct PartialPlacement;
class PlaceMacros;
class PreClusterTimingManager;
class Prepacker;
Expand Down
4 changes: 2 additions & 2 deletions vpr/src/base/ShowSetup.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include <string>
#include <vector>

class t_logical_block_type;
class t_vpr_setup;
struct t_logical_block_type;
struct t_vpr_setup;

struct ClusteredNetlistStats {
private:
Expand Down
4 changes: 2 additions & 2 deletions vpr/src/pack/greedy_clusterer.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
#include "vtr_vector.h"

// Forward declarations
class APPackContext;
struct APPackContext;
class AtomNetId;
class AtomNetlist;
class AttractionInfo;
class DeviceContext;
struct DeviceContext;
class GreedyCandidateSelector;
class PreClusterTimingManager;
class t_pack_high_fanout_thresholds;
Expand Down
2 changes: 1 addition & 1 deletion vpr/src/pack/pack_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "atom_netlist_fwd.h"
#include "physical_types.h"

struct t_pack_molecule;
class t_pack_molecule;

/**************************************************************************
* Packing Algorithm Enumerations
Expand Down
4 changes: 2 additions & 2 deletions vpr/src/place/timing/place_timing_update.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
*/

class PlacerState;
class PlaceCritParams;
struct PlaceCritParams;
class PlacerCriticalities;
class PlacerSetupSlacks;
class NetPinTimingInvalidator;
class PlaceDelayModel;
class SetupTimingInfo;
struct t_placer_costs;
class t_placer_costs;

///@brief Initialize the timing information and structures in the placer.
void initialize_timing_info(const PlaceCritParams& crit_params,
Expand Down