[PATCH] D17741: adds __FILE_BASENAME__ builtin macro

Nolan O'Brien via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 22 09:49:25 PST 2019


NSProgrammer added a comment.

We would prefer a macro like `__FILE_NAME__` over a build flag for code reading consistency (they would clearly do different things vs varying based on an obscure flag being present/absent).

This patch is languishing, unless the original author thinks otherwise, a new patch to push this through would be great.


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

https://reviews.llvm.org/D17741





More information about the cfe-commits mailing list