summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJakub Kuderski <kubakuderski@gmail.com>2017-07-16 17:01:40 +0000
committerJakub Kuderski <kubakuderski@gmail.com>2017-07-16 17:01:40 +0000
commitd3c313212e774083585220450b1eb60cf2c2a610 (patch)
treef07d0bc6ef5b2c1add4741e0321cf5471192835b /include
parent9a59c1b6f37890ce9a40673213e9c3a55e6696c8 (diff)
[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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/GenericDomTree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/GenericDomTree.h b/include/llvm/Support/GenericDomTree.h
index df06ac170fe3..706320fed9a7 100644
--- a/include/llvm/Support/GenericDomTree.h
+++ b/include/llvm/Support/GenericDomTree.h
@@ -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)),