diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-03-04 06:24:11 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-03-04 06:24:11 +0000 |
commit | 4a655e706453ba6fcf1db555437e3725eed6703b (patch) | |
tree | 9459f8339b6eaea184ae4e1f01a017c24c4d8727 /include/llvm/Support/FormattedStream.h | |
parent | cfb73ab1c0fec466952c6602c306e7665383f822 (diff) | |
download | llvm-4a655e706453ba6fcf1db555437e3725eed6703b.tar.gz llvm-4a655e706453ba6fcf1db555437e3725eed6703b.tar.bz2 llvm-4a655e706453ba6fcf1db555437e3725eed6703b.tar.xz |
[C+11] Add 'override' keyword to methods in the support library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/FormattedStream.h')
-rw-r--r-- | include/llvm/Support/FormattedStream.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/include/llvm/Support/FormattedStream.h b/include/llvm/Support/FormattedStream.h index 542e2a7d8d..d8eb068838 100644 --- a/include/llvm/Support/FormattedStream.h +++ b/include/llvm/Support/FormattedStream.h @@ -129,25 +129,23 @@ public: /// getLine - Return the line number unsigned getLine() { return Position.second; } - - raw_ostream &resetColor() { + + raw_ostream &resetColor() override { TheStream->resetColor(); return *this; } - - raw_ostream &reverseColor() { + + raw_ostream &reverseColor() override { TheStream->reverseColor(); return *this; } - - raw_ostream &changeColor(enum Colors Color, - bool Bold, - bool BG) { + + raw_ostream &changeColor(enum Colors Color, bool Bold, bool BG) override { TheStream->changeColor(Color, Bold, BG); return *this; } - - bool is_displayed() const { + + bool is_displayed() const override { return TheStream->is_displayed(); } |