Thrift: Cleaned up whitespace.
Summary:
Replaced a lot of tabs with spaces in the thrift codebase.
Removed a lot of trailing whitespace from thrift-generated c++.
Added a few things to cleanup.sh.
Trac Bug: #
Blame Rev:
Reviewed By: mcslee
Test Plan:
Recompiled thrift.
Re-thrifted some test .thrifts.
Compiled the genrated c++.
Ran cleanup.sh.
Revert Plan: ok
Notes:
EImportant:
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665176 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/protocol/TBinaryProtocol.h b/lib/cpp/src/protocol/TBinaryProtocol.h
index 5047e02..01f7c3b 100644
--- a/lib/cpp/src/protocol/TBinaryProtocol.h
+++ b/lib/cpp/src/protocol/TBinaryProtocol.h
@@ -127,8 +127,8 @@
uint32_t readMessageBegin(std::string& name,
- TMessageType& messageType,
- int32_t& seqid);
+ TMessageType& messageType,
+ int32_t& seqid);
uint32_t readMessageEnd();
@@ -137,14 +137,14 @@
uint32_t readStructEnd();
uint32_t readFieldBegin(std::string& name,
- TType& fieldType,
- int16_t& fieldId);
+ TType& fieldType,
+ int16_t& fieldId);
uint32_t readFieldEnd();
uint32_t readMapBegin(TType& keyType,
- TType& valType,
- uint32_t& size);
+ TType& valType,
+ uint32_t& size);
uint32_t readMapEnd();
@@ -154,7 +154,7 @@
uint32_t readListEnd();
uint32_t readSetBegin(TType& elemType,
- uint32_t& size);
+ uint32_t& size);
uint32_t readSetEnd();