[PATCH] D17741: adds __FILE_BASENAME__ builtin macro

Weiming Zhao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 13 18:05:27 PDT 2018


weimingz updated this revision to Diff 142499.
weimingz edited the summary of this revision.
weimingz added a comment.

split the original into two parts. This one supports -ffile-macro-prefix-to-remove function.

I locally verified it.  To add a test case, do we need to use VFS?


https://reviews.llvm.org/D17741

Files:
  include/clang/Driver/Options.td
  include/clang/Lex/PreprocessorOptions.h
  lib/Driver/ToolChains/Clang.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Lex/PPMacroExpansion.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17741.142499.patch
Type: text/x-patch
Size: 4884 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180414/685d930e/attachment.bin>


More information about the cfe-commits mailing list