HomePhabricator

[OpenMP 5.0] Fix user-defined mapper lookup in sema

Description

[OpenMP 5.0] Fix user-defined mapper lookup in sema

This patches fixes the case when a user-defined mapper is attached to
the elements of an array, and to report error when a mapper is used for
types other than struct, class, and union.

Patch by Lingda Li <lildmh@gmail.com>

Differential Revision: https://reviews.llvm.org/D67978

Details

Committed
MeinersburSep 26 2019, 3:53 PM
Differential Revision
D67978: [OpenMP 5.0] Fix user-defined mapper lookup in sema
Parents
rL373022: Always rebuild a DeclRefExpr if its FoundDecl would change.
Branches
Unknown
Tags
Unknown