Merge "Use 4 spaces of indentation for hidl-gen and c2hal."
diff --git a/utils/Formatter.cpp b/utils/Formatter.cpp
index 13a7fdf..511da3f 100644
--- a/utils/Formatter.cpp
+++ b/utils/Formatter.cpp
@@ -50,7 +50,7 @@
if (pos == std::string::npos) {
if (mAtStartOfLine) {
- fprintf(mFile, "%*s", (int)(2 * mIndentDepth), "");
+ fprintf(mFile, "%*s", (int)(4 * mIndentDepth), "");
mAtStartOfLine = false;
}
@@ -63,7 +63,7 @@
mAtStartOfLine = true;
} else if (pos > start) {
if (mAtStartOfLine) {
- fprintf(mFile, "%*s", (int)(2 * mIndentDepth), "");
+ fprintf(mFile, "%*s", (int)(4 * mIndentDepth), "");
}
output(out.substr(start, pos - start + 1));