diff options
author | Kyle Krüger <7158199+kykrueger@users.noreply.github.com> | 2025-08-29 14:52:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-29 12:52:07 +0000 |
commit | 5d0294fcb61560a228e230e8a477fc44746ec62b (patch) | |
tree | 5f78256d7a350dc87ec344ad4c4441f579c1f81d /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 88b71e20488ae0987b7ec7cfa9d49d9358b1f38c (diff) | |
download | llvm-5d0294fcb61560a228e230e8a477fc44746ec62b.zip llvm-5d0294fcb61560a228e230e8a477fc44746ec62b.tar.gz llvm-5d0294fcb61560a228e230e8a477fc44746ec62b.tar.bz2 |
[llvm] Support building with c++23 (#154372)
closes #154331
This PR addresses all minimum changes needed to compile LLVM and MLIR
with the c++23 standard.
It is a work in progress and to be reviewed for better methods of
handling the parts of the build broken by c++23.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugVariables.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp index f12f437..9d98e6c 100644 --- a/llvm/lib/CodeGen/LiveDebugVariables.cpp +++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp @@ -536,12 +536,6 @@ public: namespace llvm { -/// Implementation of the LiveDebugVariables pass. - -LiveDebugVariables::LiveDebugVariables() = default; -LiveDebugVariables::~LiveDebugVariables() = default; -LiveDebugVariables::LiveDebugVariables(LiveDebugVariables &&) = default; - class LiveDebugVariables::LDVImpl { LocMap::Allocator allocator; MachineFunction *MF = nullptr; @@ -683,6 +677,12 @@ public: void print(raw_ostream&); }; +/// Implementation of the LiveDebugVariables pass. + +LiveDebugVariables::LiveDebugVariables() = default; +LiveDebugVariables::~LiveDebugVariables() = default; +LiveDebugVariables::LiveDebugVariables(LiveDebugVariables &&) = default; + } // namespace llvm static void printDebugLoc(const DebugLoc &DL, raw_ostream &CommentOS, |