Skip to content

Commit 4c03207

Browse files
committed
[DWARF] Hide state in an anonymous namespace. NFC.
1 parent 62d9497 commit 4c03207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/DebugInfo/DWARF/DWARFContext.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ DWARFContext::DWARFContextState::parseMacroOrMacinfo(MacroSecType SectionType) {
247247
return Macro;
248248
}
249249

250+
namespace {
250251
class ThreadUnsafeDWARFContextState : public DWARFContext::DWARFContextState {
251252

252253
DWARFUnitVector NormalUnits;
@@ -740,8 +741,7 @@ class ThreadSafeState : public ThreadUnsafeDWARFContextState {
740741
return ThreadUnsafeDWARFContextState::getTypeUnitMap(IsDWO);
741742
}
742743
};
743-
744-
744+
} // namespace
745745

746746
DWARFContext::DWARFContext(std::unique_ptr<const DWARFObject> DObj,
747747
std::string DWPName,

0 commit comments

Comments
 (0)