Skip to content

Commit a801696

Browse files
author
Kyle Krueger
committed
move LiveDebugVariable constructors and destructors to after pImpl definition
1 parent 2a29c49 commit a801696

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/lib/CodeGen/LiveDebugVariables.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -536,12 +536,6 @@ class UserLabel {
536536

537537
namespace llvm {
538538

539-
/// Implementation of the LiveDebugVariables pass.
540-
541-
LiveDebugVariables::LiveDebugVariables() = default;
542-
LiveDebugVariables::~LiveDebugVariables() = default;
543-
LiveDebugVariables::LiveDebugVariables(LiveDebugVariables &&) = default;
544-
545539
class LiveDebugVariables::LDVImpl {
546540
LocMap::Allocator allocator;
547541
MachineFunction *MF = nullptr;
@@ -683,6 +677,12 @@ class LiveDebugVariables::LDVImpl {
683677
void print(raw_ostream&);
684678
};
685679

680+
/// Implementation of the LiveDebugVariables pass.
681+
682+
LiveDebugVariables::LiveDebugVariables() = default;
683+
LiveDebugVariables::~LiveDebugVariables() = default;
684+
LiveDebugVariables::LiveDebugVariables(LiveDebugVariables &&) = default;
685+
686686
} // namespace llvm
687687

688688
static void printDebugLoc(const DebugLoc &DL, raw_ostream &CommentOS,

0 commit comments

Comments
 (0)