[all-commits] [llvm/llvm-project] 8f51dc: [OPENMP]Honor constantness of captured variables.
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Fri Nov 20 11:12:39 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8f51dc49673c494cc1d118979b596288e938af13
https://github.com/llvm/llvm-project/commit/8f51dc49673c494cc1d118979b596288e938af13
Author: Alexey Bataev <a.bataev at hotmail.com>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M clang/lib/Sema/SemaExpr.cpp
M clang/test/OpenMP/distribute_firstprivate_messages.cpp
A clang/test/OpenMP/openmp_capture_const_var_ast_print.cpp
M clang/test/OpenMP/teams_distribute_firstprivate_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_firstprivate_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_messages.cpp
M clang/test/OpenMP/teams_distribute_simd_firstprivate_messages.cpp
Log Message:
-----------
[OPENMP]Honor constantness of captured variables.
Fixes bug reported via Stackoverflow:
https://stackoverflow.com/questions/64179168/clang-overload-resolution-failure-with-templates-and-openmp-collapse
Need to honor constantness of private/target variables to make the code
compilable.
Differential Revision: https://reviews.llvm.org/D91644
More information about the All-commits
mailing list