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

Chris Lattner clattner at apple.com
Tue Sep 11 14:01:47 PDT 2007


> 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?

-Chris



More information about the llvm-commits mailing list