Skip to content

Commit b5828a7

Browse files
committed
Fix header order botched by clang-format in recent commit.
1 parent 51a1822 commit b5828a7

File tree

110 files changed

+219
-133
lines changed

Some content is hidden

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

110 files changed

+219
-133
lines changed

.clang-format

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ ForEachMacros:
6363
SortIncludes: true
6464
IncludeBlocks: Regroup
6565
IncludeCategories:
66+
- Regex: '"V3Pch.*\.h"'
67+
Priority: -2 # Precompiled headers
6668
- Regex: '"(config_build|verilated_config|verilatedos)\.h"'
6769
Priority: -1 # Sepecials before main header
6870
- Regex: '(<|")verilated.*'

src/V3Active.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@
2626
//
2727
//*************************************************************************
2828

29+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
30+
2931
#include "V3Active.h"
3032

3133
#include "V3Const.h"
3234
#include "V3Graph.h"
33-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
3435

3536
#include <unordered_map>
3637

src/V3ActiveTop.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@
2323
//
2424
//*************************************************************************
2525

26+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
27+
2628
#include "V3ActiveTop.h"
2729

2830
#include "V3Const.h"
29-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
3031
#include "V3SenTree.h"
3132

3233
VL_DEFINE_DEBUG_FUNCTIONS;

src/V3Assert.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
//
1515
//*************************************************************************
1616

17+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
18+
1719
#include "V3Assert.h"
1820

19-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2021
#include "V3Stats.h"
2122

2223
VL_DEFINE_DEBUG_FUNCTIONS;

src/V3AssertPre.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@
1919
// Transform clocking blocks into imperative logic
2020
//*************************************************************************
2121

22+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
23+
2224
#include "V3AssertPre.h"
2325

2426
#include "V3Const.h"
25-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2627
#include "V3Task.h"
2728
#include "V3UniqueNames.h"
2829

src/V3Ast.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
//
1515
//*************************************************************************
1616

17+
#include "V3PchAstMT.h"
18+
1719
#include "V3Broken.h"
1820
#include "V3EmitV.h"
1921
#include "V3File.h"
20-
#include "V3PchAstMT.h"
2122

2223
#include <iomanip>
2324
#include <memory>

src/V3AstNodes.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,13 @@
1414
//
1515
//*************************************************************************
1616

17-
#include "config_build.h"
18-
#include "verilatedos.h"
17+
#include "V3PchAstMT.h"
1918

20-
#include "V3Ast.h"
2119
#include "V3EmitCBase.h"
2220
#include "V3File.h"
23-
#include "V3Global.h"
2421
#include "V3Graph.h"
2522
#include "V3Hasher.h"
2623
#include "V3PartitionGraph.h" // Just for mtask dumping
27-
#include "V3PchAstMT.h"
2824
#include "V3String.h"
2925

3026
#include "V3Ast__gen_macros.h" // Generated by 'astgen'

src/V3Begin.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
//
2727
//*************************************************************************
2828

29-
#include "V3Begin.h"
30-
3129
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
3230

31+
#include "V3Begin.h"
32+
3333
VL_DEFINE_DEBUG_FUNCTIONS;
3434

3535
//######################################################################

src/V3Branch.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
//
2424
//*************************************************************************
2525

26-
#include "V3Branch.h"
27-
2826
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2927

28+
#include "V3Branch.h"
29+
3030
VL_DEFINE_DEBUG_FUNCTIONS;
3131

3232
//######################################################################

src/V3Broken.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
//
2323
//*************************************************************************
2424

25-
#include "V3Broken.h"
26-
2725
#include "V3PchAstMT.h"
2826

27+
#include "V3Broken.h"
28+
2929
// This visitor does not edit nodes, and is called at error-exit, so should use constant iterators
3030
#include "V3AstConstOnly.h"
3131

src/V3CCtors.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@
2424
// This transformation honors outputSplitCFuncs.
2525
//*************************************************************************
2626

27+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
28+
2729
#include "V3CCtors.h"
2830

2931
#include "V3EmitCBase.h"
30-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
3132

3233
#include <list>
3334

src/V3CUse.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
//
2323
//*************************************************************************
2424

25-
#include "V3CUse.h"
26-
2725
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2826

27+
#include "V3CUse.h"
28+
2929
VL_DEFINE_DEBUG_FUNCTIONS;
3030

3131
//######################################################################

src/V3Case.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@
3434
//
3535
//*************************************************************************
3636

37+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
38+
3739
#include "V3Case.h"
3840

39-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
4041
#include "V3Stats.h"
4142

4243
VL_DEFINE_DEBUG_FUNCTIONS;

src/V3Cast.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
//
3838
//*************************************************************************
3939

40-
#include "V3Cast.h"
41-
4240
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
4341

42+
#include "V3Cast.h"
43+
4444
VL_DEFINE_DEBUG_FUNCTIONS;
4545

4646
//######################################################################

src/V3Class.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
//
2121
//*************************************************************************
2222

23+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
24+
2325
#include "V3Class.h"
2426

25-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2627
#include "V3UniqueNames.h"
2728

2829
VL_DEFINE_DEBUG_FUNCTIONS;

src/V3Clean.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
//
2424
//*************************************************************************
2525

26-
#include "V3Clean.h"
27-
2826
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2927

28+
#include "V3Clean.h"
29+
3030
VL_DEFINE_DEBUG_FUNCTIONS;
3131

3232
//######################################################################

src/V3Clock.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@
2727
//
2828
//*************************************************************************
2929

30+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
31+
3032
#include "V3Clock.h"
3133

32-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
3334
#include "V3Sched.h"
3435

3536
VL_DEFINE_DEBUG_FUNCTIONS;

src/V3Combine.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@
1919
// Also drop empty CFuncs
2020
//*************************************************************************
2121

22+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
23+
2224
#include "V3Combine.h"
2325

2426
#include "V3AstUserAllocator.h"
2527
#include "V3DupFinder.h"
26-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2728
#include "V3Stats.h"
2829

2930
#include <list>

src/V3Common.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
//
2121
//*************************************************************************
2222

23+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
24+
2325
#include "V3Common.h"
2426

2527
#include "V3EmitCBase.h"
26-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2728

2829
VL_DEFINE_DEBUG_FUNCTIONS;
2930

src/V3Config.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
//
1515
//*************************************************************************
1616

17+
#include "V3PchAstMT.h"
18+
1719
#include "V3Config.h"
1820

19-
#include "V3PchAstMT.h"
2021
#include "V3String.h"
2122

2223
#include <set>

src/V3Coverage.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
//
2525
//*************************************************************************
2626

27-
#include "V3Coverage.h"
28-
2927
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
3028

29+
#include "V3Coverage.h"
30+
3131
#include <unordered_map>
3232

3333
VL_DEFINE_DEBUG_FUNCTIONS;

src/V3CoverageJoin.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717
// If two COVERTOGGLEs have same VARSCOPE, combine them
1818
//*************************************************************************
1919

20+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
21+
2022
#include "V3CoverageJoin.h"
2123

2224
#include "V3DupFinder.h"
23-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2425
#include "V3Stats.h"
2526

2627
#include <vector>

src/V3Dead.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
// here after scoping to allow more dead node removal.
3434
//*************************************************************************
3535

36-
#include "V3Dead.h"
37-
3836
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
3937

38+
#include "V3Dead.h"
39+
4040
#include <vector>
4141

4242
VL_DEFINE_DEBUG_FUNCTIONS;

src/V3Delayed.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@
4848
//
4949
//*************************************************************************
5050

51+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
52+
5153
#include "V3Delayed.h"
5254

53-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
5455
#include "V3Stats.h"
5556

5657
#include <deque>

src/V3Depth.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
//
2424
//*************************************************************************
2525

26+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
27+
2628
#include "V3Depth.h"
2729

28-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2930
#include "V3UniqueNames.h"
3031

3132
VL_DEFINE_DEBUG_FUNCTIONS;

src/V3DepthBlock.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@
2020
//
2121
//*************************************************************************
2222

23+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
24+
2325
#include "V3DepthBlock.h"
2426

2527
#include "V3EmitCBase.h"
26-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2728

2829
VL_DEFINE_DEBUG_FUNCTIONS;
2930

src/V3Descope.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@
2222
//
2323
//*************************************************************************
2424

25+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
26+
2527
#include "V3Descope.h"
2628

2729
#include "V3EmitCBase.h"
28-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2930

3031
VL_DEFINE_DEBUG_FUNCTIONS;
3132

src/V3Dfg.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@
1414
//
1515
//*************************************************************************
1616

17+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
18+
1719
#include "V3Dfg.h"
1820

1921
#include "V3File.h"
20-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2122

2223
VL_DEFINE_DEBUG_FUNCTIONS;
2324

src/V3DfgAstToDfg.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626
//
2727
//*************************************************************************
2828

29+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
30+
2931
#include "V3Dfg.h"
3032
#include "V3DfgPasses.h"
31-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
3233

3334
VL_DEFINE_DEBUG_FUNCTIONS;
3435

src/V3DfgDecomposition.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
//
1919
//*************************************************************************
2020

21+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
22+
2123
#include "V3Dfg.h"
2224
#include "V3File.h"
23-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
2425

2526
#include <deque>
2627
#include <unordered_map>

src/V3DfgDfgToAst.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626
//
2727
//*************************************************************************
2828

29+
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
30+
2931
#include "V3Dfg.h"
3032
#include "V3DfgPasses.h"
31-
#include "V3PchAstNoMT.h" // VL_MT_DISABLED_CODE_UNIT
3233
#include "V3UniqueNames.h"
3334

3435
#include <unordered_map>

0 commit comments

Comments
 (0)