From 70c8d291c281577b842813920519725ebc4b97bb Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Fri, 17 Mar 2017 10:05:49 +0000 Subject: [PATCH] [clang-tidy] Added a test with a different format. llvm-svn: 298060 --- .../test/clang-tidy/readability-misleading-indentation.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clang-tools-extra/test/clang-tidy/readability-misleading-indentation.cpp b/clang-tools-extra/test/clang-tidy/readability-misleading-indentation.cpp index ef94229fcb09..59d5f4069188 100644 --- a/clang-tools-extra/test/clang-tidy/readability-misleading-indentation.cpp +++ b/clang-tools-extra/test/clang-tidy/readability-misleading-indentation.cpp @@ -98,6 +98,11 @@ int main() } else { } + if (cond1) { + } else if (cond2) { + } else if (!cond2) { + } else { + } } else if (cond2) { }