[LiveDebugVariables] Internalize class DbgVariableValue. NFC
authorFangrui Song <i@maskray.me>
Mon, 24 Aug 2020 05:53:23 +0000 (22:53 -0700)
committerFangrui Song <i@maskray.me>
Mon, 24 Aug 2020 05:53:46 +0000 (22:53 -0700)
llvm/lib/CodeGen/LiveDebugVariables.cpp

index 158e873..dd0a900 100644 (file)
@@ -96,6 +96,7 @@ LiveDebugVariables::LiveDebugVariables() : MachineFunctionPass(ID) {
 
 enum : unsigned { UndefLocNo = ~0U };
 
+namespace {
 /// Describes a debug variable value by location number and expression along
 /// with some flags about the original usage of the location.
 class DbgVariableValue {
@@ -136,6 +137,7 @@ private:
   unsigned WasIndirect : 1;
   const DIExpression *Expression = nullptr;
 };
+} // namespace
 
 /// Map of where a user value is live to that value.
 using LocMap = IntervalMap<SlotIndex, DbgVariableValue, 4>;