[libc-commits] [PATCH] D153794: [libc][hdr-gen] Add a new 'begin' and `end command to control headers

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jun 27 10:18:34 PDT 2023


michaelrj added a comment.

I think we should nail down the design before we start making changes. More specifically, what are the begin and end commands going to do?



================
Comment at: libc/utils/HdrGen/BeginCommand.cpp:24
+  if (Args.size() != 0)
+    Reporter.printFatalError("%%end command does not take any arguments.");
+}
----------------
nit: should be `begin`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153794



More information about the libc-commits mailing list