summaryrefslogtreecommitdiff
path: root/include/llvm/Support/FormattedStream.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-09-23 02:12:10 +0000
committerCraig Topper <craig.topper@gmail.com>2012-09-23 02:12:10 +0000
commita96a1824747632ce87ef065b4a13fb777d2b14d6 (patch)
tree7a4851895fbb852ec33c6b8ece55584e9ad03014 /include/llvm/Support/FormattedStream.h
parent4d6b84028ab3b135308296d61a8acfc3fd0b1fb1 (diff)
downloadllvm-a96a1824747632ce87ef065b4a13fb777d2b14d6.tar.gz
llvm-a96a1824747632ce87ef065b4a13fb777d2b14d6.tar.bz2
llvm-a96a1824747632ce87ef065b4a13fb777d2b14d6.tar.xz
Add LLVM_OVERRIDE to methods that override their base classes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/FormattedStream.h')
-rw-r--r--include/llvm/Support/FormattedStream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/FormattedStream.h b/include/llvm/Support/FormattedStream.h
index 61a219f676..21635dcfb6 100644
--- a/include/llvm/Support/FormattedStream.h
+++ b/include/llvm/Support/FormattedStream.h
@@ -55,11 +55,11 @@ namespace llvm
///
const char *Scanned;
- virtual void write_impl(const char *Ptr, size_t Size);
+ virtual void write_impl(const char *Ptr, size_t Size) LLVM_OVERRIDE;
/// current_pos - Return the current position within the stream,
/// not counting the bytes currently in the buffer.
- virtual uint64_t current_pos() const {
+ virtual uint64_t current_pos() const LLVM_OVERRIDE {
// Our current position in the stream is all the contents which have been
// written to the underlying stream (*not* the current position of the
// underlying stream).