hse-project / hse

HSE: Heterogeneous-memory storage engine
https://hse-project.github.io
673 stars 65 forks source link

Fix clang-format AlignAfterOpenBracket #598

Closed tristan957 closed 1 year ago

tristan957 commented 1 year ago

Signed-off-by: Tristan Partin tpartin@micron.com

alexttx commented 1 year ago

This affects call sites too. Some diffs of the old setting (-) vs new setting (+). I'm fine with this, but others should be aware.

-    return rest_client_fetch("GET", NULL, NULL, 0, kvdb_get_configured_mclasses_cb, configured,
-        "/kvdbs/%s/mclass", alias);
+    return rest_client_fetch(
+        "GET", NULL, NULL, 0, kvdb_get_configured_mclasses_cb, configured, "/kvdbs/%s/mclass",
+        alias);

-        log_info("sp3 kvdb_rparam csched_hi_th_pct changed from %lu to %lu",
+        log_info(
+            "sp3 kvdb_rparam csched_hi_th_pct changed from %lu to %lu",
             (ulong)sp->inputs.csched_hi_th_pct, (ulong)new_val);

-        vbr_readahead(vbd, vboff, vlen, iter->vra_flags, iter->vra_len, NELEM(iter->ra_histv),
-            iter->ra_histv, iter->vra_wq);
+        vbr_readahead(
+            vbd, vboff, vlen, iter->vra_flags, iter->vra_len, NELEM(iter->ra_histv), iter->ra_histv,
+            iter->vra_wq);