[llvm-commits] [llvm] r41855 - /llvm/trunk/include/llvm/ADT/SparseBitVector.h

Daniel Berlin dberlin at dberlin.org
Tue Sep 11 14:40:55 PDT 2007


On 9/11/07, Chris Lattner <clattner at apple.com> wrote:
> > URL: http://llvm.org/viewvc/llvm-project?rev=41855&view=rev
> > Log:
> > Convert to use ilist and non-pointer lists for extra goodness
>
> Yay!
>
> > +  // Dump our bits to stderr
> > +  void dump(llvm::OStream &out) const {
> > +    out << "[ ";
> > +    for (iterator bi = begin();
> > +         bi != end();
> > +         ++bi) {
> > +      out << *bi << " ";
> > +    }
> > +    out << std::endl;
> > +  }
>
> Please don't use std::endl, use '\n' instead.  Could this be moved
> out of line?

Done and done (I'll commit when i get home)



More information about the llvm-commits mailing list