[PATCH] D139211: [WIP][clang-format] Properly handle the C11 _Generic keyword.

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 2 11:34:25 PST 2022


HazardyKnusperkeks added a comment.

Looks good to me.
And adding a token type is absolutely nothing negative. The more tokens get a type, the better.



================
Comment at: clang/lib/Format/TokenAnnotator.cpp:1630
       TemplateArgument,
+      // C11 _Generic selection
+      C11GenericSelection,
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139211



More information about the cfe-commits mailing list