[PATCH] D153585: [clang-format] Fix align consecutive declarations over function pointers

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 26 17:24:57 PDT 2023


owenpan added inline comments.


================
Comment at: clang/lib/Format/WhitespaceManager.cpp:869-871
         if (C.Tok->is(TT_FunctionDeclarationName))
           return true;
+        if (C.Tok->is(TT_FunctionTypeLParen))
----------------
We should merge the two `if` statements.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153585



More information about the cfe-commits mailing list