Skip to content

Instantly share code, notes, and snippets.

@ehsan
Created November 30, 2018 11:30
Show Gist options
  • Save ehsan/55a33db0df4664d3388a34a8bed97382 to your computer and use it in GitHub Desktop.
Save ehsan/55a33db0df4664d3388a34a8bed97382 to your computer and use it in GitHub Desktop.
diff --git a/tools/clang-tidy/test/readability-misleading-indentation.cpp b/tools/clang-tidy/test/readability-misleading-indentation.cpp
index bd955026cf100..334904a64dad2 100644
--- a/tools/clang-tidy/test/readability-misleading-indentation.cpp
+++ b/tools/clang-tidy/test/readability-misleading-indentation.cpp
@@ -1,11 +1,9 @@
-void f()
-{
-}
+void f() {}
void foo() {
if (1)
if (0)
f();
- else
- f();
+ else
+ f();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment