Created
November 30, 2018 11:30
-
-
Save ehsan/55a33db0df4664d3388a34a8bed97382 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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