[PATCH] D17741: adds __FILE_BASENAME__ builtin macro

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 1 10:54:01 PST 2016


thakis added a comment.

> I think we can do this separately. A "basename" macro is easier for programmers to use and no build system change needed.


Hm, I would think that adding a flag to your CFLAGS is easier than getting all your dependencies to use a clang-only new macro…


http://reviews.llvm.org/D17741





More information about the cfe-commits mailing list