diff options
author | Erich Keane <ekeane@nvidia.com> | 2025-07-16 11:05:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-16 11:05:41 -0700 |
commit | 22994edb5fd71198c48670255c979fcc962930a1 (patch) | |
tree | 3d146241d7b82ce7c999a6a636ac847b33b0d358 /llvm/docs/CommandGuide/llvm-tli-checker.rst | |
parent | 560e7df6893495fabe91bc921f9cc0e28a25eb73 (diff) | |
download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 |
A 'private' variable reference needs to have a default constructor and a
destructor, else we cannot properly emit them in codegen. This patch
adds a warning-as-default-error to diagnose this.
We'll have to do something similar for firstprivate/reduction, however
it isn't clear whether we could skip the check for default-constructor
for those two (they still need a destructor!). Depending on how we
intend to create them (and we probably have to figure this out?), we
could either require JUST a copy-constructor (then make the init section
just the alloca, and the copy-ctor be the 'copy' section), OR they
require a default-constructor + copy-assignment.
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-tli-checker.rst')
0 files changed, 0 insertions, 0 deletions