Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6b8b6bc

Browse files
committedMay 22, 2025·
[Infra] The Big VPR Pragma Commit
VPR is moving to a style that uses "#pragma once" instead of header gaurds. These are less error prone and may be slightly more performant. Converted all of the header gaurds in VPR into pragma once's. Also moved all pragma onces to the top of all header files to maintain a consistent style. It is a good idea to have them as the very first line in all header files. While going through all header files, cleaned up any extra header includes which were including things they did not need.
1 parent 6a71f7e commit 6b8b6bc

File tree

296 files changed

+375
-954
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

296 files changed

+375
-954
lines changed
 

‎vpr/src/analytical_place/analytical_placement_flow.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1+
#pragma once
12
/**
23
* @file
34
* @author Alex Singer
45
* @date September 2024
56
* @brief Methods for running the Analytical Placement flow.
67
*/
78

8-
#pragma once
9-
109
// Forward declarations
1110
struct t_vpr_setup;
1211

‎vpr/src/analytical_place/analytical_solver.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#pragma once
12
/**
23
* @file
34
* @author Alex Singer and Robert Luo
@@ -6,8 +7,6 @@
67
* to define the functionality of all solvers used in the AP flow.
78
*/
89

9-
#pragma once
10-
1110
#include <memory>
1211
#include "ap_flow_enums.h"
1312
#include "ap_netlist.h"

0 commit comments

Comments
 (0)
Please sign in to comment.