search for: iter1

Displaying 5 results from an estimated 5 matches for "iter1".

Did you mean: iter
2018 Dec 09
2
Parse LLVM IR
...t main() { LLVMContext context; SMDiagnostic error; Module *m = parseIRFile("t.ll", error, context).get(); if(!m) { return 0; } std::cout << error.getMessage().str() << std::endl; std::cout << sizeof(m->getFunctionList()) << std::endl; auto iter1 = m->getFunctionList().begin(); std::cout << " Function: " << (*iter1).getName().str() << std::endl; for (auto iter1 = m->getFunctionList().begin(); iter1 != m->getFunctionList().end(); iter1++) { Function &f = *iter1; std::cout &...
2007 Sep 07
0
[LLVMdev] [PATCH]: Add SparseBitmap implementation
...e iterator, as such you could also typedef "const_iterator". + while (ElementIter != RHS.Elements.end()) + Elements.push_back(new SparseBitVectorElement<ElementSize>(*(*ElementIter))); line too long. + if (BecameZero) { + ElementListIter IterTmp = Iter1; + delete *IterTmp; A few tabs are in here before delete, please convert to spaces. + iterator begin() { + return iterator(*this); + } + + iterator end() { + return iterator(*this, ~0); + } Can these both be const? -Chris -- http://nondot.org/sabre/ http://llvm.org/
2007 Sep 04
6
[LLVMdev] [PATCH]: Add SparseBitmap implementation
On 9/4/07, Dan Gohman <djg at cray.com> wrote: > On Tue, Sep 04, 2007 at 10:35:10AM -0400, Daniel Berlin wrote: > > On 9/4/07, Dan Gohman <djg at cray.com> wrote: > > > On Fri, Aug 31, 2007 at 08:10:33PM -0400, Daniel Berlin wrote: > > > > + template <int ElementSize> > > > > + class SparseBitmap { > > > > > > Do you
2007 Sep 07
1
[LLVMdev] [PATCH]: Add SparseBitmap implementation
...onst_iterator". Done > > + while (ElementIter != RHS.Elements.end()) > + Elements.push_back(new SparseBitVectorElement<ElementSize>(*(*ElementIter))); > > line too long. Split. > > + if (BecameZero) { > + ElementListIter IterTmp = Iter1; > + delete *IterTmp; > > A few tabs are in here before delete, please convert to spaces. M-x whitespace-cleanup done :) > > > + iterator begin() { > + return iterator(*this); > + } > + > + iterator end() { > + return iterator(*this, ~...
2012 Jun 15
3
doveadm backup panic
using latest auto build didn't help. this happens only with a specific account. # doveadm -o imapc_user=----- at domain.com -o imapc_password=---- backup -u =----- at domain.com -R imapc: dsync(---- at domain.com): Panic: pool_data_stack_realloc(): stack frame changed dsync(---- at domain.com): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x4209a) [0xb762b09a] ->