[PATCH] D61756: Add a __FILE_NAME__ macro.
Kristina Brooks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 16 12:28:31 PDT 2019
kristina updated this revision to Diff 199882.
kristina edited the summary of this revision.
kristina added a comment.
Revised to use `llvm::sys::path::filename` to avoid issues on Windows hosts.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61756/new/
https://reviews.llvm.org/D61756
Files:
include/clang/Lex/Preprocessor.h
lib/Lex/PPMacroExpansion.cpp
test/Preprocessor/Inputs/include-subdir/file_name_macro_include.h
test/Preprocessor/Inputs/include-subdir/h
test/Preprocessor/Inputs/include-subdir/subdir1/hdr1.h
test/Preprocessor/Inputs/include-subdir/subdir1/hdr2.h
test/Preprocessor/file_name_macro.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61756.199882.patch
Type: text/x-patch
Size: 5419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190516/af900693/attachment-0001.bin>
More information about the cfe-commits
mailing list