penagos updated this revision to Diff 338641. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D100778/new/
https://reviews.llvm.org/D100778 Files: clang/unittests/Format/FormatTest.cpp Index: clang/unittests/Format/FormatTest.cpp =================================================================== --- clang/unittests/Format/FormatTest.cpp +++ clang/unittests/Format/FormatTest.cpp @@ -7649,7 +7649,8 @@ verifyFormat("a<int> = 1;", Style); verifyFormat("a<int> >>= 1;", Style); - verifyFormat("test < a - 1 >> 1;"); + verifyFormat("test < a | b >> c;"); + verifyFormat("test<test<a | b>> c;"); verifyFormat("test >> a >> b;"); verifyFormat("test << a >> b;");
Index: clang/unittests/Format/FormatTest.cpp =================================================================== --- clang/unittests/Format/FormatTest.cpp +++ clang/unittests/Format/FormatTest.cpp @@ -7649,7 +7649,8 @@ verifyFormat("a<int> = 1;", Style); verifyFormat("a<int> >>= 1;", Style); - verifyFormat("test < a - 1 >> 1;"); + verifyFormat("test < a | b >> c;"); + verifyFormat("test<test<a | b>> c;"); verifyFormat("test >> a >> b;"); verifyFormat("test << a >> b;");
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits