Skip to content

Commit 5ba746d

Browse files
authored
[NFC][TableGen] Use namespace qualifier to define RecordKeeperImpl (#166220)
1 parent 3170345 commit 5ba746d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/TableGen/Record.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,11 @@ using namespace llvm;
4646
// Context
4747
//===----------------------------------------------------------------------===//
4848

49-
namespace llvm::detail {
5049
/// This class represents the internal implementation of the RecordKeeper.
5150
/// It contains all of the contextual static state of the Record classes. It is
5251
/// kept out-of-line to simplify dependencies, and also make it easier for
5352
/// internal classes to access the uniquer state of the keeper.
54-
struct RecordKeeperImpl {
53+
struct detail::RecordKeeperImpl {
5554
RecordKeeperImpl(RecordKeeper &RK)
5655
: SharedBitRecTy(RK), SharedIntRecTy(RK), SharedStringRecTy(RK),
5756
SharedDagRecTy(RK), AnyRecord(RK, {}), TheUnsetInit(RK),
@@ -99,7 +98,6 @@ struct RecordKeeperImpl {
9998

10099
void dumpAllocationStats(raw_ostream &OS) const;
101100
};
102-
} // namespace llvm::detail
103101

104102
void detail::RecordKeeperImpl::dumpAllocationStats(raw_ostream &OS) const {
105103
// Dump memory allocation related stats.

0 commit comments

Comments
 (0)