Re: r360833 - [Clang][PP] Add the __FILE_NAME__ builtin macro.

2019-05-15 Thread Kristina Brooks via cfe-commits
rocessor\\file_name_macro.c" > > ^ > > :12:87: note: possible intended match here > > 2: > "C:\\b\\slave\\clang-x64-windows-msvc\\build\\llvm.src\\tools\\clang\\test\\Preprocessor\\file_name_macro.c" > > > ^ > > > error: command fail

RE: r360833 - [Clang][PP] Add the __FILE_NAME__ builtin macro.

2019-05-15 Thread via cfe-commits
\\build\\llvm.src\\tools\\clang\\test\\Preprocessor\\file_name_macro.c" ^ error: command failed with exit status: 1 Douglas Yung -Original Message- From: cfe-commits On Behalf Of Kristina Brooks via

r360833 - [Clang][PP] Add the __FILE_NAME__ builtin macro.

2019-05-15 Thread Kristina Brooks via cfe-commits
Author: kristina Date: Wed May 15 17:52:41 2019 New Revision: 360833 URL: http://llvm.org/viewvc/llvm-project?rev=360833&view=rev Log: [Clang][PP] Add the __FILE_NAME__ builtin macro. This patch adds the `__FILE_NAME__` macro that expands to the last component of the path, similar to `__FILE__` e