[OPENMP]Fix PR49790: Constexpr values not handled in `omp declare mapper` clause.
authorAlexey Bataev <a.bataev@outlook.com>
Thu, 3 Jun 2021 19:13:10 +0000 (12:13 -0700)
committerAlexey Bataev <a.bataev@outlook.com>
Fri, 4 Jun 2021 14:32:14 +0000 (07:32 -0700)
commit827b5c21545aaa820403e9b5cced8c0181349ee2
tree3762ca05031c2bb3903aae5056ce1224ec3a7303
parentfcb1547229454fcc814a58784495a7ef9ad991d2
[OPENMP]Fix PR49790: Constexpr values not handled in `omp declare mapper` clause.

Patch allows using of constexpr vars evaluatable to constant calue to be
used in declare mapper construct.

Differential Revision: https://reviews.llvm.org/D103642
clang/lib/Sema/SemaOpenMP.cpp
clang/test/OpenMP/declare_mapper_ast_print.cpp