aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2022-04-18 22:21:47 -0400
committerYaxun (Sam) Liu <yaxun.liu@amd.com>2022-04-19 14:28:03 -0400
commit800f26386cd9054ceed68e481612908f635b9718 (patch)
tree988ac5e0024a0e33cac4e1b1989a6a3a5f7e4965 /clang/lib/Frontend/CompilerInvocation.cpp
parent3de29ad20955eb8ed68e831795bf55bfe9fbe58b (diff)
downloadllvm-800f26386cd9054ceed68e481612908f635b9718.zip
llvm-800f26386cd9054ceed68e481612908f635b9718.tar.gz
llvm-800f26386cd9054ceed68e481612908f635b9718.tar.bz2
[CUDA][HIP] Fix delete operator for -fopenmp
When new operator is called in OpenMP parallel region, delete operator is resolved and checked. Due to similar issue fixed by https://reviews.llvm.org/D121765, when resolving delete operator, the caller was not determined correctly, which results in error as shown in https://godbolt.org/z/jKhd8qKos. This patch fixes the issue in a similar way as https://reviews.llvm.org/D121765 Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D123976
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions