[all-commits] [llvm/llvm-project] f5a30f: [Clang][MicrosoftMangle] Implement mangling for Co...
Losy001 via All-commits
all-commits at lists.llvm.org
Sat Apr 26 09:04:33 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5a30f111dc4ad6422863722eb708059a68a9d5c
https://github.com/llvm/llvm-project/commit/f5a30f111dc4ad6422863722eb708059a68a9d5c
Author: Losy001 <64610343+Losy001 at users.noreply.github.com>
Date: 2025-04-26 (Sat, 26 Apr 2025)
Changed paths:
M clang/lib/AST/MicrosoftMangle.cpp
A clang/test/CodeGenCXX/mangle-ms-matrix.cpp
Log Message:
-----------
[Clang][MicrosoftMangle] Implement mangling for ConstantMatrixType (#134930)
This pull request implements mangling for ConstantMatrixType, allowing
matrices to be used on Windows.
Related issues: #53158, #127127
This example code:
```cpp
#include <typeinfo>
#include <stdio.h>
typedef float Matrix4 __attribute__((matrix_type(4, 4)));
int main()
{
printf("%s\n", typeid(Matrix4).name());
}
```
Outputs this:
```
struct __clang::__matrix<float,4,4>
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list