Skip to content

Commit 049da75

Browse files
committed
rmp: clang-tidy
Signed-off-by: Bartłomiej Chmiel <[email protected]>
1 parent d0de0c5 commit 049da75

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

src/rmp/src/gia.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
#include "db_sta/dbNetwork.hh"
2020
#include "db_sta/dbSta.hh"
2121
#include "gia.h"
22-
#include "map/if/if.h"
22+
// This header has a cycle, but has include guards
23+
#include "map/if/if.h" // NOLINT(misc-header-include-cycle)
2324
#include "map/mio/mio.h"
2425
#include "map/scl/sclLib.h"
2526
#include "map/scl/sclSize.h"

src/rmp/src/utils.h

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,23 @@
33

44
#pragma once
55

6-
#include <random>
6+
#include <vector>
77

8-
#include "aig/gia/giaAig.h"
8+
#include "aig/aig/aig.h"
9+
#include "aig/gia/gia.h"
910
#include "base/abc/abc.h"
10-
#include "db_sta/dbSta.hh"
11-
#include "resynthesis_strategy.h"
12-
#include "rsz/Resizer.hh"
13-
#include "sta/Corner.hh"
1411
#include "sta/Delay.hh"
15-
#include "utl/Logger.h"
12+
#include "sta/Graph.hh"
1613
#include "utl/deleter.h"
1714

15+
namespace rsz {
16+
class Resizer;
17+
} // namespace rsz
18+
19+
namespace sta {
20+
class dbSta;
21+
} // namespace sta
22+
1823
namespace rmp {
1924

2025
utl::UniquePtrWithDeleter<abc::Abc_Ntk_t> WrapUnique(abc::Abc_Ntk_t* ntk);

0 commit comments

Comments
 (0)