[PATCH] D119117: [clang-format] Fix formatting of the array form of delete.

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 7 09:58:04 PST 2022


owenpan accepted this revision.
owenpan added inline comments.


================
Comment at: clang/unittests/Format/TokenAnnotatorTest.cpp:94
 
+TEST_F(TokenAnnotatorTest, UnderstandsNewAndDelete) {
+  auto Tokens = annotate("delete (void *)p;");
----------------
The test name contains “new” and “delete”, but the test cases are all “delete”.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119117



More information about the cfe-commits mailing list