diff options
author | Amirreza Ashouri <ar.ashouri999@gmail.com> | 2023-11-28 22:14:38 +0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-28 19:44:38 +0100 |
commit | 98e674c9f16d677d95c67bc130e267fae331e43c (patch) | |
tree | 2fe80576edd1b42765e32a0e44fb483cf34c5d8a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | badec9b7bfb6fb27d8be42d1b71bea7a3cd37da6 (diff) | |
download | llvm-98e674c9f16d677d95c67bc130e267fae331e43c.zip llvm-98e674c9f16d677d95c67bc130e267fae331e43c.tar.gz llvm-98e674c9f16d677d95c67bc130e267fae331e43c.tar.bz2 |
[clang] Non-object types are non-trivially relocatable (#69734)
Both active C++ proposals (P1144 and P2786) agree that
`is_trivially_relocatable_v<int&>` and
`is_trivially_relocatable_v<int()>` should be false, not true. Only
complete object types can be trivially relocatable.
Fixes #67498
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions