[PATCH] D117398: [clang-format] Fix bug in parsing `operator<` with template

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 19 23:52:59 PST 2022


curdeius added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:9466
   verifyFormat("operator SomeType<SomeType<int>>();");
+  verifyFormat("operator< <>();");
+  verifyFormat("< <>");
----------------
Looking at other related bug reports, I think that we should test `operator<< <>();` as well. Could you add it please?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117398/new/

https://reviews.llvm.org/D117398



More information about the cfe-commits mailing list