[PATCH] D120774: [clang-format] Handle builtins in constraint expression

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 7 12:53:26 PST 2022


owenpan accepted this revision.
owenpan added inline comments.


================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:3163
 
+    case tok::identifier:
     default:
----------------
Do we still need this line?


================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:3188
+        parseBracedList(/*ContinueOnSemicolons=*/false, /*IsEnum=*/false,
+                        /*ClosingBraceKind=*/tok::greater);
+      break;
----------------



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

https://reviews.llvm.org/D120774



More information about the cfe-commits mailing list