https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82176

--- Comment #7 from f.hollerer at gmx dot net ---
Yes, the __FILE_NAME__ macro provided by Clang is exactly the feature I am
asking for:

__FILE_NAME__
    Clang-specific extension that functions similar to __FILE__ but only
renders the last path component (the filename) instead of an invocation
dependent full path to that file.

Reply via email to