[PATCH] D16385: [OpenMP] Update map clause SEMA to support OpenMP 4.5 possible list items.

Samuel Antao via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 20 17:28:55 PST 2016


sfantao created this revision.
sfantao added reviewers: ABataev, hfinkel, kkwli0, arpith-jacob, carlo.bertolli.
sfantao added subscribers: caomhin, fraggamuffin, cfe-commits.

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.


http://reviews.llvm.org/D16385

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Parse/ParseOpenMP.cpp
  lib/Sema/SemaOpenMP.cpp
  test/OpenMP/target_map_messages.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16385.45470.patch
Type: text/x-patch
Size: 46881 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160121/90cfb719/attachment-0001.bin>


More information about the cfe-commits mailing list