From a96a1824747632ce87ef065b4a13fb777d2b14d6 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 23 Sep 2012 02:12:10 +0000 Subject: 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 --- lib/Support/DataStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Support/DataStream.cpp') diff --git a/lib/Support/DataStream.cpp b/lib/Support/DataStream.cpp index 94d14a5e36..3a38e2a66b 100644 --- a/lib/Support/DataStream.cpp +++ b/lib/Support/DataStream.cpp @@ -58,7 +58,7 @@ public: virtual ~DataFileStreamer() { close(Fd); } - virtual size_t GetBytes(unsigned char *buf, size_t len) { + virtual size_t GetBytes(unsigned char *buf, size_t len) LLVM_OVERRIDE { NumStreamFetches++; return read(Fd, buf, len); } -- cgit v1.2.3