aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/SupportLibrary.rst
diff options
context:
space:
mode:
authorErich Keane <ekeane@nvidia.com>2025-07-16 11:05:41 -0700
committerGitHub <noreply@github.com>2025-07-16 11:05:41 -0700
commit22994edb5fd71198c48670255c979fcc962930a1 (patch)
tree3d146241d7b82ce7c999a6a636ac847b33b0d358 /llvm/docs/SupportLibrary.rst
parent560e7df6893495fabe91bc921f9cc0e28a25eb73 (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[OpenACC][Sema] Implement warning for non-effective 'private' (#149004)HEADmain
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/SupportLibrary.rst')
0 files changed, 0 insertions, 0 deletions