[PATCH] D125085: [clang-format] Correctly handle SpaceBeforeParens for builtins.

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 6 08:50:29 PDT 2022


owenpan added inline comments.


================
Comment at: clang/lib/Format/TokenAnnotator.cpp:3439-3441
+        (Left.is(tok::identifier) || Left.Tok.getIdentifierInfo() ||
+         Left.isFunctionLikeKeyword() || Left.is(tok::r_paren) ||
+         Left.isSimpleTypeSpecifier()))
----------------
Any identifiers and keywords are covered now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125085



More information about the cfe-commits mailing list