[PATCH] D124221: Reimplement `__builtin_dump_struct` in Sema.

Wang Yihan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 5 09:55:57 PDT 2022


yihanaa added a comment.

This is unfortunately true, unless we generate some code that calculates the length of the string at runtime. I find it difficult to draw the line between defining this built-in functionality and developers developing printf-like functionality, if built-in does too much, flexibility will decrease, if built-in does less, (features like length limits) then develop personnel may need to do some work.   o(≧口≦)o


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124221



More information about the cfe-commits mailing list