[PATCH] D132911: [clang-format] Fix annotating when deleting array of pointers

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 30 01:25:04 PDT 2022


MyDeveloperDay added inline comments.


================
Comment at: clang/lib/Format/TokenAnnotator.cpp:2379
+        Prev->is(tok::kw_delete))
+      return TT_UnaryOperator;
+
----------------
Why unary here, doesn’t that make it a multiply?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132911



More information about the cfe-commits mailing list