Remove trailing whitespace (#3668)

This commit is contained in:
John Vandenberg
2022-07-07 17:18:20 +08:00
committed by GitHub
parent 0af9524e16
commit 0e6e16645c
1330 changed files with 23570 additions and 23571 deletions

View File

@@ -34,7 +34,7 @@ class Foundation_API CountingStreamBuf: public UnbufferedStreamBuf
public:
CountingStreamBuf();
/// Creates an unconnected CountingStreamBuf.
CountingStreamBuf(std::istream& istr);
/// Creates the CountingStreamBuf and connects it
/// to the given input stream.
@@ -45,34 +45,34 @@ public:
~CountingStreamBuf();
/// Destroys the CountingStream.
std::streamsize chars() const;
/// Returns the total number of characters.
std::streamsize lines() const;
/// Returns the total number of lines.
std::streamsize pos() const;
/// Returns the number of characters on the current line.
void reset();
/// Resets all counters.
void setCurrentLineNumber(std::streamsize line);
/// Sets the current line number.
///
/// This is mainly useful when parsing C/C++
/// preprocessed source code containing #line directives.
std::streamsize getCurrentLineNumber() const;
/// Returns the current line number (same as lines()).
void addChars(std::streamsize chars);
/// Add to the total number of characters.
void addLines(std::streamsize lines);
/// Add to the total number of lines.
void addPos(std::streamsize pos);
/// Add to the number of characters on the current line.
@@ -127,16 +127,16 @@ public:
///
/// This is mainly useful when parsing C/C++
/// preprocessed source code containing #line directives.
std::streamsize getCurrentLineNumber() const;
/// Returns the current line number (same as lines()).
void addChars(std::streamsize chars);
/// Add to the total number of characters.
void addLines(std::streamsize lines);
/// Add to the total number of lines.
void addPos(std::streamsize pos);
/// Add to the number of characters on the current line.
@@ -170,7 +170,7 @@ class Foundation_API CountingOutputStream: public CountingIOS, public std::ostre
public:
CountingOutputStream();
/// Creates an unconnected CountingOutputStream.
CountingOutputStream(std::ostream& ostr);
/// Creates the CountingOutputStream and connects it
/// to the given output stream.