summaryrefslogtreecommitdiff
path: root/include/llvm/Support/raw_ostream.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-12 22:10:57 +0000
committerDan Gohman <gohman@apple.com>2009-08-12 22:10:57 +0000
commita9ad04191cb56c42944b17980b8b2bb2afe11ab2 (patch)
tree217ac479944faf363c1d09f76ff1b9eb70fbbd57 /include/llvm/Support/raw_ostream.h
parent2ffb0ce7dce2d5c243b90493807308af6fab0528 (diff)
downloadllvm-a9ad04191cb56c42944b17980b8b2bb2afe11ab2.tar.gz
llvm-a9ad04191cb56c42944b17980b8b2bb2afe11ab2.tar.bz2
llvm-a9ad04191cb56c42944b17980b8b2bb2afe11ab2.tar.xz
This void is implicit in C++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/raw_ostream.h')
-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 5f6578fcb5..f7fbe21ee3 100644
--- a/include/llvm/Support/raw_ostream.h
+++ b/include/llvm/Support/raw_ostream.h
@@ -250,8 +250,8 @@ protected:
void error_detected() { Error = true; }
typedef char * iterator;
- iterator begin(void) { return OutBufStart; }
- iterator end(void) { return OutBufCur; }
+ iterator begin() { return OutBufStart; }
+ iterator end() { return OutBufCur; }
//===--------------------------------------------------------------------===//
// Private Interface