aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2020-08-11 12:30:45 -0400
committerAlexey Bataev <a.bataev@hotmail.com>2020-08-12 10:06:52 -0400
commitddbd21d288f6ff7d175f18ddee0ee6407626445a (patch)
treede5d446477600a1323c32e30c0dcaa93e6cd2069 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
parente14474a39a14b3c86c6c5d5ed9bf11467a0bbe9b (diff)
downloadllvm-ddbd21d288f6ff7d175f18ddee0ee6407626445a.zip
llvm-ddbd21d288f6ff7d175f18ddee0ee6407626445a.tar.gz
llvm-ddbd21d288f6ff7d175f18ddee0ee6407626445a.tar.bz2
[OPENMP]Do not add TGT_OMP_TARGET_PARAM flag to non-captured mapped arguments.
If the arguments are mapped, but are actually not used in the target region, the compiler still adds attribute TGT_OMP_TARGET_PARAM for such arguments. It makes the libomptarget to add such parameters to the list of arguments, passed to the kernel at the runtime, and may lead to incorrect results/crashes during execution. Differential Revision: https://reviews.llvm.org/D85755
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions