Internals: Cleanup unneeded {}. No functional change

This commit is contained in:
Wilson Snyder
2021-02-21 21:25:21 -05:00
parent 3ae75926e4
commit 9650aefa42
78 changed files with 218 additions and 208 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ class CMakeEmitter final {
static void cmake_set_raw(std::ofstream& of, const string& name, const string& raw_value,
const string& cache_type = "", const string& docstring = "") {
of << "set(" << name << " " << raw_value;
if (!cache_type.empty()) { of << " CACHE " << cache_type << " \"" << docstring << "\""; }
if (!cache_type.empty()) of << " CACHE " << cache_type << " \"" << docstring << "\"";
of << ")\n";
}