r195529 - Revert r195526, "Remove uninstantiable constructor from DeclTemplate.h"
Peter Collingbourne
peter at pcc.me.uk
Fri Nov 22 16:51:53 PST 2013
Author: pcc
Date: Fri Nov 22 18:51:53 2013
New Revision: 195529
URL: http://llvm.org/viewvc/llvm-project?rev=195529&view=rev
Log:
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
Modified:
cfe/trunk/include/clang/AST/DeclTemplate.h
Modified: cfe/trunk/include/clang/AST/DeclTemplate.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclTemplate.h?rev=195529&r1=195528&r2=195529&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclTemplate.h (original)
+++ cfe/trunk/include/clang/AST/DeclTemplate.h Fri Nov 22 18:51:53 2013
@@ -564,6 +564,7 @@ protected:
SetIteratorType SetIter;
public:
+ SpecIterator() : SetIter() {}
SpecIterator(SetIteratorType SetIter) : SetIter(SetIter) {}
DeclType *operator*() const {
More information about the cfe-commits
mailing list