[libc-commits] [PATCH] D156168: [libc][NFC] Simplify assert message generation

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Jul 24 16:14:09 PDT 2023


michaelrj added a comment.

I'm also kinda confused why `__PRETTY_FUNCTION__` isn't available to the preprocessor, maybe it's to do with C++ mangling semantics?

I'll look into better names for the macros, I think something like `__LIBC` would probably work.

Yeah, my first try involved constexpr strings that were concatenated at compile time, but then I realized that the macros are just strings themselves (or close enough with line).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156168



More information about the libc-commits mailing list