Unverified Commit 265568c1 authored by Zahira Ammarguellat's avatar Zahira Ammarguellat Committed by GitHub
Browse files

[clang-cl] Fix value of __FUNCTION__ and __FUNC__ in MSVC mode for c++. (#66120)

Predefined macro FUNCTION (and __FUNC__) in clang is not returning the
same string than MS for templated functions.

See https://godbolt.org/z/88n1rGs3b



For this test case MSVC is returning:
function: TestClass<class UnitTestNative>::TestClass
func: TestClass

---------

Co-authored-by: default avatarReid Kleckner <rnk@google.com>
parent e7651e60
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment