Trunk build failure at commit 206147, 206148, 206149

Jiangning Liu liujiangning1 at gmail.com
Sun Apr 13 23:15:00 PDT 2014


Hi,

Trunk build failure at commit 206147, 206148, 206149.

In file included from
/home/jialiu01/llvm/llvm/include/llvm/ADT/ArrayRef.h:15:0,
                 from /home/jialiu01/llvm/llvm/include/llvm/ADT/APInt.h:19,
                 from
/home/jialiu01/llvm/llvm/include/llvm/ADT/APFloat.h:20,
                 from /home/jialiu01/llvm/llvm/lib/Support/APFloat.cpp:15:
/home/jialiu01/llvm/llvm/include/llvm/Support/Allocator.h: In member
function 'void llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize,
SizeThreshold>::PrintStats() const':
/home/jialiu01/llvm/llvm/include/llvm/Support/Allocator.h:206:69: error:
default argument for template parameter for class enclosing 'void
llvm::printBumpPtrAllocatorStats(unsigned int, size_t, size_t)'
         unsigned NumSlabs, size_t BytesAllocated, size_t TotalMemory);
                                                                     ^
/home/jialiu01/llvm/llvm/include/llvm/Support/Allocator.h: At global scope:
/home/jialiu01/llvm/llvm/include/llvm/Support/Allocator.h:289:30: error:
wrong number of template arguments (0, should be 3)
 typedef BumpPtrAllocatorImpl<> BumpPtrAllocator;
                              ^
/home/jialiu01/llvm/llvm/include/llvm/Support/Allocator.h:86:7: error:
provided for 'template<class AllocatorT, long unsigned int SlabSize, long
unsigned int SizeThreshold> class llvm::BumpPtrAllocatorImpl'
 class BumpPtrAllocatorImpl {
       ^
/home/jialiu01/llvm/llvm/include/llvm/Support/Allocator.h:289:48: error:
invalid type in declaration before ';' token
 typedef BumpPtrAllocatorImpl<> BumpPtrAllocator;
                                                ^
/home/jialiu01/llvm/llvm/include/llvm/Support/Allocator.h: In member
function 'void llvm::SpecificBumpPtrAllocator<T>::DestroyAll()':
/home/jialiu01/llvm/llvm/include/llvm/Support/Allocator.h:314:29: error:
request for member 'Slabs' in
'((llvm::SpecificBumpPtrAllocator<T>*)this)->llvm::SpecificBumpPtrAllocator<T>::Allocator',
which is of non-class type 'llvm::BumpPtrAllocator {aka int}'

-- 
Thanks,
-Jiangning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140414/2e9a4a7c/attachment.html>


More information about the llvm-commits mailing list