diff options
author | Zahira Ammarguellat <zahira.ammarguellat@intel.com> | 2024-03-19 07:55:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 07:55:49 -0700 |
commit | 6503b015d4a8971dcb69a63de7d8d203e4be79b6 (patch) | |
tree | 3c8768f94816bc8f47d6c4928d0866884d05e0ac /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 6872a646523c1e85a98dfa20b2f4dd7774e10ba4 (diff) | |
download | llvm-6503b015d4a8971dcb69a63de7d8d203e4be79b6.zip llvm-6503b015d4a8971dcb69a63de7d8d203e4be79b6.tar.gz llvm-6503b015d4a8971dcb69a63de7d8d203e4be79b6.tar.bz2 |
[clang-cl] Fix value of __FUNCTION__ in MSVC mode. (#84014)
Predefined macro FUNCTION in clang is not returning the same string than
MS for templated functions.
See https://godbolt.org/z/q3EKn5zq4
For the same test case MSVC is returning:
function: TestClass::TestClass
function: TestStruct::TestStruct
function: TestEnum::TestEnum
The initial work for this was in the reverted patch
(https://github.com/llvm/llvm-project/pull/66120). This patch solves the
issues raised in the reverted patch.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions