aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorerichkeane <ekeane@nvidia.com>2024-09-20 11:06:47 -0700
committererichkeane <ekeane@nvidia.com>2024-09-20 11:08:38 -0700
commitebf13086740d714339b5f7a8bdadf9a5e1b754bb (patch)
tree13ff9d707965c2758327332a128f8de3d4fb0325 /clang/lib/Frontend/CompilerInvocation.cpp
parent65bc259a97cd8cc70907b65f59aff728245ba9c0 (diff)
downloadllvm-ebf13086740d714339b5f7a8bdadf9a5e1b754bb.zip
llvm-ebf13086740d714339b5f7a8bdadf9a5e1b754bb.tar.gz
llvm-ebf13086740d714339b5f7a8bdadf9a5e1b754bb.tar.bz2
[OpenACC] Ensure clause expressions side-effects don't happen
The OpenACC standard says side-effects/ordering of expressions in clauses and constructs (not yet, but PR for constructs) cannot be depended on. We already had infrastructure to ensure constructs, and non-template clauses did this right, but we had the ordering of a call vs transform of the clauses happened in tree transform. This patch ensures that the evaluation context put together for the construct covers the clauses as well in tree transform.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions