]> granicus.if.org Git - clang/commit
[OpenMP] Update map clause SEMA to support OpenMP 4.5 possible list items.
authorSamuel Antao <sfantao@us.ibm.com>
Fri, 22 Jan 2016 20:21:36 +0000 (20:21 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Fri, 22 Jan 2016 20:21:36 +0000 (20:21 +0000)
commitd70617d2081617fca18a8d514a16b55e84376ba1
tree5a5e4f84e7145b080814d7c4a6c1f05a5b3cd8ea
parentc87ca354aab2ba8f95b925b886a04f78f9430bb4
[OpenMP] Update map clause SEMA to support OpenMP 4.5 possible list items.

Summary:
Extend support in the map clause SEMA for the expressions supported in the OpenMP 4.5 specification, namely member expressions.

Fix some bugs in the previous implementation of SEMA related with expressions that do not consist of single variable references.

Fix bug in parsing when the expression in the map clause do not start with an identifier: accept any expression in the map clause and check for validity in SEMA instead of just ignoring it.

Reviewers: hfinkel, kkwli0, arpith-jacob, carlo.bertolli, ABataev

Subscribers: cfe-commits, fraggamuffin, caomhin

Differential Revision: http://reviews.llvm.org/D16385

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@258543 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Parse/ParseOpenMP.cpp
lib/Sema/SemaOpenMP.cpp
test/OpenMP/target_map_messages.cpp