From: Peter Collingbourne Date: Sat, 23 Nov 2013 00:51:53 +0000 (+0000) Subject: Revert r195526, "Remove uninstantiable constructor from DeclTemplate.h" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11909892ff73dc0f69ad4cd7223d8f661767206e;p=clang Revert r195526, "Remove uninstantiable constructor from DeclTemplate.h" It apparently causes some versions of GCC to segfault. http://bb.pgr.jp/builders/cmake-clang-x86_64-linux/builds/17175/steps/build_clang/logs/stdio git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195529 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/DeclTemplate.h b/include/clang/AST/DeclTemplate.h index 8fb4957b0b..4497197592 100644 --- a/include/clang/AST/DeclTemplate.h +++ b/include/clang/AST/DeclTemplate.h @@ -564,6 +564,7 @@ protected: SetIteratorType SetIter; public: + SpecIterator() : SetIter() {} SpecIterator(SetIteratorType SetIter) : SetIter(SetIter) {} DeclType *operator*() const {