diff options
author | Kazu Hirata <kazu@google.com> | 2025-10-02 09:27:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-02 09:27:09 -0700 |
commit | 7eb5c08ac3a5bc524a5fe4e2e91db3a5b1ffe3cd (patch) | |
tree | 34ab40ec4ae539ebd047c606d6e2971513eefbbf /llvm/lib/CodeGen/MachineFunctionPass.cpp | |
parent | 0dd8f322c1b40bdac469eec248e3b2b4e1043754 (diff) | |
download | llvm-7eb5c08ac3a5bc524a5fe4e2e91db3a5b1ffe3cd.zip llvm-7eb5c08ac3a5bc524a5fe4e2e91db3a5b1ffe3cd.tar.gz llvm-7eb5c08ac3a5bc524a5fe4e2e91db3a5b1ffe3cd.tar.bz2 |
[ADT] Use "= default" in DirectedGraph.h (#161628)
This patch drops user copy/move constructors and assignment operators
of DirectedGraph to adhere to the Rule of Zero.
Now, the original code:
DGraphType &operator=(const DGraphType &&G)
is most likely unintended -- a move assignment operator with const
r-value reference. This patch fixes that.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions