Skip to content

Commit b442c5f

Browse files
Merge pull request #3098 from AlexandreSinger/feature-build-fixed-forward-declarations
[Infra] Fixed False Forward Declarations
2 parents 34bd1e0 + 82708d3 commit b442c5f

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

vpr/src/analytical_place/analytical_solver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#endif // EIGEN_INSTALLED
2929

3030
// Forward declarations
31-
class PartialPlacement;
31+
struct PartialPlacement;
3232
class APNetlist;
3333
class AtomNetlist;
3434
class PreClusterTimingManager;

vpr/src/analytical_place/full_legalizer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class APNetlist;
1616
class AtomNetlist;
1717
class ClusteredNetlist;
1818
class DeviceGrid;
19-
class PartialPlacement;
19+
struct PartialPlacement;
2020
class PlaceMacros;
2121
class PreClusterTimingManager;
2222
class Prepacker;

vpr/src/base/ShowSetup.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include <string>
55
#include <vector>
66

7-
class t_logical_block_type;
8-
class t_vpr_setup;
7+
struct t_logical_block_type;
8+
struct t_vpr_setup;
99

1010
struct ClusteredNetlistStats {
1111
private:

vpr/src/pack/greedy_clusterer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
#include "vtr_vector.h"
1818

1919
// Forward declarations
20-
class APPackContext;
20+
struct APPackContext;
2121
class AtomNetId;
2222
class AtomNetlist;
2323
class AttractionInfo;
24-
class DeviceContext;
24+
struct DeviceContext;
2525
class GreedyCandidateSelector;
2626
class PreClusterTimingManager;
2727
class t_pack_high_fanout_thresholds;

vpr/src/pack/pack_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "atom_netlist_fwd.h"
1313
#include "physical_types.h"
1414

15-
struct t_pack_molecule;
15+
class t_pack_molecule;
1616

1717
/**************************************************************************
1818
* Packing Algorithm Enumerations

vpr/src/place/timing/place_timing_update.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
*/
66

77
class PlacerState;
8-
class PlaceCritParams;
8+
struct PlaceCritParams;
99
class PlacerCriticalities;
1010
class PlacerSetupSlacks;
1111
class NetPinTimingInvalidator;
1212
class PlaceDelayModel;
1313
class SetupTimingInfo;
14-
struct t_placer_costs;
14+
class t_placer_costs;
1515

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

0 commit comments

Comments
 (0)