Rename indentBlock to indent.
No reason to add "block" to the name.
Test: compiles
Change-Id: I8a930cb8d9bb7d03d302c0b9c308ab6d40045260
diff --git a/main.cpp b/main.cpp
index b7cf4fd..39d0b5a 100644
--- a/main.cpp
+++ b/main.cpp
@@ -807,11 +807,11 @@
Formatter out(file);
out << "cc_library_shared {\n";
- out.indentBlock([&] {
+ out.indent([&] {
out << "name: \"" << libraryName << "\",\n"
<< "relative_install_path: \"hw\",\n"
<< "srcs: [\n";
- out.indentBlock([&] {
+ out.indent([&] {
for (const auto &fqName : packageInterfaces) {
if (fqName.name() == "types") {
continue;
@@ -821,7 +821,7 @@
});
out << "],\n"
<< "shared_libs: [\n";
- out.indentBlock([&] {
+ out.indent([&] {
out << "\"libhidlbase\",\n"
<< "\"libhidltransport\",\n"
<< "\"libhwbinder\",\n"