[FunctionAttrs] Extract a helper function for the core logic used to
[oota-llvm.git] / lib / Support / raw_os_ostream.cpp
index 3374dd7a66a0b43f85042061d699c95ef98ea1d4..44f2325d7f8a4b6d369c0274344c6d14afb1eb1f 100644 (file)
@@ -27,4 +27,4 @@ void raw_os_ostream::write_impl(const char *Ptr, size_t Size) {
   OS.write(Ptr, Size);
 }
 
-uint64_t raw_os_ostream::current_pos() { return OS.tellp(); }
+uint64_t raw_os_ostream::current_pos() const { return OS.tellp(); }