| Issue |
76682
|
| Summary |
const_cast does not cast away __unaligned attribute in windows
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
CurTInq
|
According to [microsoft documentation](https://learn.microsoft.com/en-us/cpp/cpp/const-cast-operator?view=msvc-170) const_cast must cast away the __unaligned qualifier, however this is not the case in clang: https://godbolt.org/z/Kd3esqoEr
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs