aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/raw_ostream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h
index 74a4206c23..3527984d2a 100644
--- a/include/llvm/Support/raw_ostream.h
+++ b/include/llvm/Support/raw_ostream.h
@@ -78,7 +78,7 @@ public:
/// whether an output error has been encountered.
bool has_error() const {
return Error;
- };
+ }
/// clear_error - Set the flag read by has_error() to false. If the error
/// flag is set at the time when this raw_ostream's destructor is called,
@@ -86,7 +86,7 @@ public:
/// after handling the error to avoid this behavior.
void clear_error() {
Error = false;
- };
+ }
//===--------------------------------------------------------------------===//
// Configuration Interface