<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/test/Analysis/eval-predefined-exprs.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[clang-cl] Fix value of __FUNCTION__ in MSVC mode. (#84014)</title>
<updated>2024-03-19T14:55:49+00:00</updated>
<author>
<name>Zahira Ammarguellat</name>
<email>zahira.ammarguellat@intel.com</email>
</author>
<published>2024-03-19T14:55:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6503b015d4a8971dcb69a63de7d8d203e4be79b6'/>
<id>6503b015d4a8971dcb69a63de7d8d203e4be79b6</id>
<content type='text'>
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.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[clang-cl] Fix value of __FUNCTION__ and __FUNC__ in MSVC mode for c++. (#66120)"</title>
<updated>2023-09-27T18:26:49+00:00</updated>
<author>
<name>Aaron Ballman</name>
<email>aaron@aaronballman.com</email>
</author>
<published>2023-09-27T18:26:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9243b1bfdbf4c8b8f3f8c8e45b57f784311adaac'/>
<id>9243b1bfdbf4c8b8f3f8c8e45b57f784311adaac</id>
<content type='text'>
This reverts commit 265568c136f94b108790e9be73cd8071e714aad1.

See https://github.com/llvm/llvm-project/issues/66114#issuecomment-1732319259
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 265568c136f94b108790e9be73cd8071e714aad1.

See https://github.com/llvm/llvm-project/issues/66114#issuecomment-1732319259
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang-cl] Fix value of __FUNCTION__ and __FUNC__ in MSVC mode for c++. (#66120)</title>
<updated>2023-09-22T12:45:53+00:00</updated>
<author>
<name>Zahira Ammarguellat</name>
<email>zahira.ammarguellat@intel.com</email>
</author>
<published>2023-09-22T12:45:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=265568c136f94b108790e9be73cd8071e714aad1'/>
<id>265568c136f94b108790e9be73cd8071e714aad1</id>
<content type='text'>
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&lt;class UnitTestNative&gt;::TestClass
func: TestClass

---------

Co-authored-by: Reid Kleckner &lt;rnk@google.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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&lt;class UnitTestNative&gt;::TestClass
func: TestClass

---------

Co-authored-by: Reid Kleckner &lt;rnk@google.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add type information to integral template argument if required.</title>
<updated>2021-05-12T19:00:08+00:00</updated>
<author>
<name>Pratyush Das</name>
<email>reikdas@gmail.com</email>
</author>
<published>2021-05-12T17:28:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=99d63ccff04b672694f8a2b3eed024b873dc163d'/>
<id>99d63ccff04b672694f8a2b3eed024b873dc163d</id>
<content type='text'>
Non-comprehensive list of cases:
 * Dumping template arguments;
 * Corresponding parameter contains a deduced type;
 * Template arguments are for a DeclRefExpr that hadMultipleCandidates()

Type information is added in the form of prefixes (u8, u, U, L),
suffixes (U, L, UL, LL, ULL) or explicit casts to printed integral template
argument, if MSVC codeview mode is disabled.

Differential revision: https://reviews.llvm.org/D77598
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Non-comprehensive list of cases:
 * Dumping template arguments;
 * Corresponding parameter contains a deduced type;
 * Template arguments are for a DeclRefExpr that hadMultipleCandidates()

Type information is added in the form of prefixes (u8, u, U, L),
suffixes (U, L, UL, LL, ULL) or explicit casts to printed integral template
argument, if MSVC codeview mode is disabled.

Differential revision: https://reviews.llvm.org/D77598
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[SYCL] Implement __builtin_unique_stable_name."</title>
<updated>2020-10-12T05:10:09+00:00</updated>
<author>
<name>John McCall</name>
<email>rjmccall@apple.com</email>
</author>
<published>2020-10-12T05:09:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cec49a583693752b3984e49f9c193de07c2a7698'/>
<id>cec49a583693752b3984e49f9c193de07c2a7698</id>
<content type='text'>
This reverts commit b5a034e771d0e4d7d8e71fc545b230d98e5a1f42.

This feature was added without following the proper process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit b5a034e771d0e4d7d8e71fc545b230d98e5a1f42.

This feature was added without following the proper process.
</pre>
</div>
</content>
</entry>
<entry>
<title>[analyzer] Evaluate PredefinedExpressions</title>
<updated>2020-09-14T06:43:56+00:00</updated>
<author>
<name>Balazs Benics</name>
<email>benicsbalazs@gmail.com</email>
</author>
<published>2020-09-14T06:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=163863604f9c1ad3add238f9e8fb32cfd136f894'/>
<id>163863604f9c1ad3add238f9e8fb32cfd136f894</id>
<content type='text'>
We did not evaluate such expressions, just returned `Unknown` for such cases.
After this patch, we will be able to access a unique value identifying a template instantiation via the value of the `PRETTY_FUNCTION` predefined expression.

Reviewed By: vsavchenko

Differential Revision: https://reviews.llvm.org/D87004
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We did not evaluate such expressions, just returned `Unknown` for such cases.
After this patch, we will be able to access a unique value identifying a template instantiation via the value of the `PRETTY_FUNCTION` predefined expression.

Reviewed By: vsavchenko

Differential Revision: https://reviews.llvm.org/D87004
</pre>
</div>
</content>
</entry>
</feed>
