[PATCH] D61756: Add a __FILE_NAME__ macro.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 25 14:20:10 PDT 2020
MaskRay added a comment.
> @rmisth wrote: "Clang should drive the standard, not diverge from it", and we should at least try to push for standardizing this if we think it's worthwhile as an alternative to __FILE__.
In D61756#1505296 <https://reviews.llvm.org/D61756#1505296>, @kristina wrote:
> Revised to use `llvm::sys::path::filename` to avoid issues on Windows hosts.
Hi @kristina, have you followed up with the extension on WG14 or WG21 mailing lists? There is a similar GCC feature request which you may want to comment as well https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77488
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61756/new/
https://reviews.llvm.org/D61756
More information about the llvm-commits
mailing list