[PATCH] D17741: adds __FILE_BASENAME__ builtin macro

Joerg Sonnenberger via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 29 15:20:48 PST 2016


joerg added a subscriber: joerg.
joerg added a comment.

I've added functionality like that to NetBSD's GCC <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47047> a long time ago. That functionality is useful for a variety of situations, cutting down file space or canonicalization are two uses.


http://reviews.llvm.org/D17741





More information about the cfe-commits mailing list