Skip to content

Commit f77d977

Browse files
authored
Merge pull request #8195 from hzeller/feature-20250901-inc-odb
IWYU: Include needed odb headers in files uses classes from them.
2 parents f39ca6f + 472f5fc commit f77d977

File tree

390 files changed

+626
-0
lines changed

Some content is hidden

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

390 files changed

+626
-0
lines changed

src/ant/src/AntennaChecker.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "odb/db.h"
2828
#include "odb/dbShape.h"
2929
#include "odb/dbTypes.h"
30+
#include "odb/geom.h"
3031
#include "utl/Logger.h"
3132

3233
namespace ant {

src/ant/src/Polygon.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
#include <vector>
88

99
#include "boost/polygon/polygon.hpp"
10+
#include "odb/db.h"
1011
#include "odb/dbShape.h"
12+
#include "odb/dbTransform.h"
13+
#include "odb/dbTypes.h"
14+
#include "odb/geom.h"
1115

1216
namespace ant {
1317

src/ant/src/WireBuilder.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
#include <vector>
1515

1616
#include "boost/functional/hash.hpp"
17+
#include "odb/db.h"
1718
#include "odb/dbShape.h"
19+
#include "odb/dbTransform.h"
20+
#include "odb/dbTypes.h"
21+
#include "odb/dbWireCodec.h"
22+
#include "odb/geom.h"
1823
#include "utl/Logger.h"
1924

2025
namespace ant {

src/cts/src/Clock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
#include "Util.h"
1717
#include "odb/db.h"
18+
#include "odb/dbObject.h"
1819

1920
namespace utl {
2021
class Logger;

src/cts/src/CtsGraphics.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <string>
1111
#include <vector>
1212

13+
#include "odb/geom.h"
1314
#include "utl/Logger.h"
1415

1516
namespace cts {

src/cts/src/CtsOptions.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
#include "CtsOptions.h"
55

6+
#include "odb/db.h"
7+
68
namespace cts {
79

810
CtsOptions::MasterType CtsOptions::getType(odb::dbInst* inst) const

src/cts/src/HTreeBuilder.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
#include "Clustering.h"
1919
#include "SinkClustering.h"
20+
#include "odb/db.h"
2021
#include "utl/Logger.h"
2122

2223
namespace cts {

src/cts/src/HTreeBuilder.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "CtsObserver.h"
1515
#include "CtsOptions.h"
1616
#include "TreeBuilder.h"
17+
#include "odb/db.h"
1718

1819
namespace cts {
1920
class Graphics;

src/cts/src/LevelBalancer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "TreeBuilder.h"
1515
#include "cts/TritonCTS.h"
1616
#include "odb/db.h"
17+
#include "odb/dbObject.h"
1718

1819
namespace cts {
1920

src/cts/src/LevelBalancer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "CtsOptions.h"
1515
#include "TreeBuilder.h"
1616
#include "Util.h"
17+
#include "odb/db.h"
1718

1819
namespace utl {
1920
class Logger;

0 commit comments

Comments
 (0)