[clang] [clang-cl] Fix value of __FUNCTION__ in MSVC mode. (PR #84014)

via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 14:47:29 PST 2024


================
@@ -224,6 +224,9 @@ Bug Fixes in This Version
   for variables created through copy initialization having side-effects in C++17 and later.
   Fixes (#GH64356) (#GH79518).
 
+- Fix value of predefined macro ``__FUNCTION__`` to match MSVC's value. Fixes
+  (`#66114 <https://github.com/llvm/llvm-project/issues/66114>`_).
----------------
Sirraide wrote:

```suggestion
- Fix value of predefined macro ``__FUNCTION__`` in MSVC compatibility mode.
  Fixes (#GH66114).
```
I seem to have missed this earlier, but we should probably point out that this change only applies to `MSVCCompat` mode (and also use the new issue link syntax that we have now).

https://github.com/llvm/llvm-project/pull/84014


More information about the cfe-commits mailing list