]> granicus.if.org Git - clang/commit
[OPENMP] Analyze the type of the mapped entity instead of its base.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 2 May 2018 18:44:10 +0000 (18:44 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 2 May 2018 18:44:10 +0000 (18:44 +0000)
commit8eb6a2dbe7eb57c4c96fa809130179cceeb36dfd
treeb73e686842c8f316ed91f221ef8aebe1d52acf0c
parentd717d5a7ed1962acc83fd22fbd928dd6e830322f
[OPENMP] Analyze the type of the mapped entity instead of its base.

If the mapped entity is a data member, we erroneously checked the type
of its base rather than the type of the mapped entity itself.

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