]> granicus.if.org Git - clang/commit
[OPENMP] Simplified checks for declarations in declare target regions.
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 11 Sep 2018 13:59:10 +0000 (13:59 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 11 Sep 2018 13:59:10 +0000 (13:59 +0000)
commit09b62391abd4a6ffd96555598ec47619717cdfe6
tree8dcbd0a358d798cac2a2baa45981837cdefc6207
parentafd6ff8f05a7181cde0b93630fdd2d673fda871c
[OPENMP] Simplified checks for declarations in declare target regions.

Sema analysis should not mark functions as an implicit declare target,
it may break codegen. Simplified semantic analysis and removed extra
code for implicit declare target functions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341939 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOpenMP.cpp
test/OpenMP/declare_target_messages.cpp