[PATCH] D121596: [clang-format] Fix crash with ObjC Blocks

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 14 06:44:12 PDT 2022


HazardyKnusperkeks added inline comments.


================
Comment at: clang/unittests/Format/TokenAnnotatorTest.cpp:615
 
+TEST_F(TokenAnnotatorTest, UnderstandsObjCBlock) {
+  auto Tokens = annotate("int (^)() = ^ ()\n"
----------------
I hope the name is appropriate, I don't know shit about objective c.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121596



More information about the cfe-commits mailing list