From 8c5314479ebbf2c70225b94641b464da81ef6f79 Mon Sep 17 00:00:00 2001 From: Mandeep Singh Grang Date: Tue, 9 Aug 2016 17:49:24 +0000 Subject: [PATCH] Fix spacing around variable initializations and for-loops. NFC. Reviewers: grosser, _jdoerfert, zinob Projects: #polly Differential Revision: https://reviews.llvm.org/D23285 llvm-svn: 278143 --- polly/lib/JSON/json_writer.cpp | 2 +- polly/www/experiments/matmul/matmul.c | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/polly/lib/JSON/json_writer.cpp b/polly/lib/JSON/json_writer.cpp index bf475c3..e1934bb 100644 --- a/polly/lib/JSON/json_writer.cpp +++ b/polly/lib/JSON/json_writer.cpp @@ -120,7 +120,7 @@ std::string valueToQuotedString( const char *value ) std::string result; result.reserve(maxsize); // to avoid lots of mallocs result += "\""; - for (const char* c=value; *c != 0; ++c) + for (const char* c = value; *c != 0; ++c) { switch(*c) { diff --git a/polly/www/experiments/matmul/matmul.c b/polly/www/experiments/matmul/matmul.c index edb2455..49fffc8 100644 --- a/polly/www/experiments/matmul/matmul.c +++ b/polly/www/experiments/matmul/matmul.c @@ -9,8 +9,8 @@ void init_array() { int i, j; - for (i=0; i