mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
[Dominators] Workaround explicit instantiation bug.
Some platforms have problems with emmiting constructors when class templates get explicitly instantiated. This patch fixes the bug reported in D35315 by replacing `= default` with an empty constructor body. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308140 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a59c1b6f3
commit
d3c313212e
@ -230,7 +230,7 @@ class DominatorTreeBase {
|
||||
using NodePtr = NodeT *;
|
||||
static constexpr bool IsPostDominator = IsPostDom;
|
||||
|
||||
DominatorTreeBase() = default;
|
||||
DominatorTreeBase() {}
|
||||
|
||||
DominatorTreeBase(DominatorTreeBase &&Arg)
|
||||
: Roots(std::move(Arg.Roots)),
|
||||
|
Loading…
Reference in New Issue
Block a user