[clang-tools-extra] r298060 - [clang-tidy] Added a test with a different format.
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 17 03:05:49 PDT 2017
Author: alexfh
Date: Fri Mar 17 05:05:49 2017
New Revision: 298060
URL: http://llvm.org/viewvc/llvm-project?rev=298060&view=rev
Log:
[clang-tidy] Added a test with a different format.
Modified:
clang-tools-extra/trunk/test/clang-tidy/readability-misleading-indentation.cpp
Modified: clang-tools-extra/trunk/test/clang-tidy/readability-misleading-indentation.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/readability-misleading-indentation.cpp?rev=298060&r1=298059&r2=298060&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/readability-misleading-indentation.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/readability-misleading-indentation.cpp Fri Mar 17 05:05:49 2017
@@ -98,6 +98,11 @@ int main()
}
else {
}
+ if (cond1) {
+ } else if (cond2) {
+ } else if (!cond2) {
+ } else {
+ }
}
else if (cond2) {
}
More information about the cfe-commits
mailing list