r362581 - Add __FILE_NAME__ to ReleaseNotes. NFC

Kristina Brooks via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 4 20:47:02 PDT 2019


Author: kristina
Date: Tue Jun  4 20:47:02 2019
New Revision: 362581

URL: http://llvm.org/viewvc/llvm-project?rev=362581&view=rev
Log:
Add __FILE_NAME__ to ReleaseNotes. NFC

Added it under C language changes as a nonstandard
extension for the time being.


Modified:
    cfe/trunk/docs/ReleaseNotes.rst

Modified: cfe/trunk/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.rst?rev=362581&r1=362580&r2=362581&view=diff
==============================================================================
--- cfe/trunk/docs/ReleaseNotes.rst (original)
+++ cfe/trunk/docs/ReleaseNotes.rst Tue Jun  4 20:47:02 2019
@@ -101,9 +101,11 @@ Windows Support
 C Language Changes in Clang
 ---------------------------
 
-- ...
+- ``__FILE_NAME__`` macro has been added as a Clang specific extension supported
+  in all C-family languages. This macro is similar to ``__FILE__`` except it
+  will always provide the last path component when possible.
 
-...
+- ...
 
 C11 Feature Support
 ^^^^^^^^^^^^^^^^^^^




More information about the cfe-commits mailing list