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

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 18 00:34:00 PST 2022


MyDeveloperDay requested changes to this revision.
MyDeveloperDay added inline comments.
This revision now requires changes to proceed.


================
Comment at: clang/unittests/Format/FormatTest.cpp:9468
                "    typename aaaaaaaaaaaaaaaaaaaaaaaa();");
   verifyFormat("auto aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa =\n"
                "    new (aaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaa))\n"
----------------
you doing something in your editor...


================
Comment at: clang/unittests/Format/FormatTest.cpp:9380
 
   verifyFormat("struct f {\n"
                "  template <class T>\n"
----------------
just make sure there isn't a whitespace change here you didn't mean


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

https://reviews.llvm.org/D117398



More information about the cfe-commits mailing list