The Road to Clang-Format part 5
Whitespace: With a Vengeance
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I706a599c8c0dc159a0205c7c8cb2d3b7cbb7213f
diff --git a/test/flyweight_test.cpp b/test/flyweight_test.cpp
index 472358d..139d7c1 100644
--- a/test/flyweight_test.cpp
+++ b/test/flyweight_test.cpp
@@ -22,7 +22,7 @@
bool operator<(const Foo& i_r) const
{
- return iv_i < i_r.iv_i;
+ return iv_i < i_r.iv_i;
}
private:
@@ -31,7 +31,7 @@
Foo& addFoo(int i)
{
- return Flyweight<Foo>::getSingleton().get(Foo { i });
+ return Flyweight<Foo>::getSingleton().get(Foo{i});
}
TEST(FlyweightTest, TestSet1)
diff --git a/test/hei_user_defines.hpp b/test/hei_user_defines.hpp
index 2ba5b8b..c84981b 100644
--- a/test/hei_user_defines.hpp
+++ b/test/hei_user_defines.hpp
@@ -9,16 +9,16 @@
#include <assert.h>
#include <stdio.h>
-#define HEI_INF(...) \
- { \
- printf("I> " __VA_ARGS__); \
- printf("\n"); \
+#define HEI_INF(...) \
+ { \
+ printf("I> " __VA_ARGS__); \
+ printf("\n"); \
}
-#define HEI_ERR(...) \
- { \
- printf("E> " __VA_ARGS__); \
- printf("\n"); \
+#define HEI_ERR(...) \
+ { \
+ printf("E> " __VA_ARGS__); \
+ printf("\n"); \
}
#define HEI_ASSERT(expression) assert(expression);