Make some methods const. The only interesting change here is that
[oota-llvm.git] / include / llvm / Support / FormattedStream.h
index 24a3546200ac78bab3c2d19e4f7771786d1d34d6..09ab17c446e0b67ba507f238ffc2411affe17893 100644 (file)
@@ -59,7 +59,7 @@ namespace llvm
 
     /// current_pos - Return the current position within the stream,
     /// not counting the bytes currently in the buffer.
-    virtual uint64_t current_pos() { 
+    virtual uint64_t current_pos() const 
       // This has the same effect as calling TheStream.current_pos(),
       // but that interface is private.
       return TheStream->tell() - TheStream->GetNumBytesInBuffer();