On Tue, Mar 1, 2016 at 10:54 AM, Nico Weber via cfe-commits < cfe-commits@lists.llvm.org> wrote:
> 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… > Yeah, we have gotten an internal request for similar functionality and it definitely was a "whole build" granularity (i.e. CFLAGS) that the behavior was desired. That being said, __FILE_BASENAME__ might be useful to have in its own right. -- Sean Silva > > > http://reviews.llvm.org/D17741 > > > > _______________________________________________ > cfe-commits mailing list > cfe-commits@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits