Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Unified Diff: net/tools/balsa/split.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/tools/balsa/split.cc
diff --git a/net/tools/balsa/split.cc b/net/tools/balsa/split.cc
index 20be430d7310f260b01ccc249d672a069774dc7b..8e0b75763bfc476aa87f1de57a3584114fd07933 100644
--- a/net/tools/balsa/split.cc
+++ b/net/tools/balsa/split.cc
@@ -25,7 +25,7 @@ void SplitStringPieceToVector(const base::StringPiece& full,
if (delim[1] == '\0') {
base::StringPiece::const_iterator s = full.begin();
base::StringPiece::const_iterator e = s;
- for (;e != full.end(); ++e) {
+ for (; e != full.end(); ++e) {
if (*e == delim[0]) {
if (e != s || !omit_empty_strings) {
vec->push_back(base::StringPiece(s, e - s));
@@ -43,9 +43,9 @@ void SplitStringPieceToVector(const base::StringPiece& full,
} else {
base::StringPiece::const_iterator s = full.begin();
base::StringPiece::const_iterator e = s;
- for (;e != full.end(); ++e) {
+ for (; e != full.end(); ++e) {
bool one_matched = false;
- for (const char *d = delim; *d != '\0'; ++d) {
+ for (const char* d = delim; *d != '\0'; ++d) {
if (*d == *e) {
one_matched = true;
break;
@@ -69,4 +69,3 @@ void SplitStringPieceToVector(const base::StringPiece& full,
}
} // namespace net
-

Powered by Google App Engine
This is Rietveld 408576698