forked from OSchip/llvm-project
[OpenMP] Fix another after scope after D129608
https://lab.llvm.org/buildbot/#/builders/5/builds/26770
This commit is contained in:
parent
9a75033402
commit
2f9be69d84
|
@ -9070,15 +9070,18 @@ public:
|
|||
std::tuple<OMPClauseMappableExprCommon::MappableExprComponentListRef,
|
||||
OpenMPMapClauseKind, ArrayRef<OpenMPMapModifierKind>, bool,
|
||||
const ValueDecl *, const Expr *>;
|
||||
static const OpenMPMapModifierKind ModifierKinds[] = {
|
||||
OMPC_MAP_MODIFIER_unknown,
|
||||
};
|
||||
SmallVector<MapData, 4> DeclComponentLists;
|
||||
// For member fields list in is_device_ptr, store it in
|
||||
// DeclComponentLists for generating components info.
|
||||
auto It = DevPointersMap.find(VD);
|
||||
if (It != DevPointersMap.end())
|
||||
for (const auto& MCL : It->second)
|
||||
DeclComponentLists.emplace_back(
|
||||
MCL, OMPC_MAP_to, OMPC_MAP_MODIFIER_unknown, /*IsImpicit = */ true,
|
||||
nullptr, nullptr);
|
||||
DeclComponentLists.emplace_back(MCL, OMPC_MAP_to, ModifierKinds,
|
||||
/*IsImpicit = */ true, nullptr,
|
||||
nullptr);
|
||||
assert(CurDir.is<const OMPExecutableDirective *>() &&
|
||||
"Expect a executable directive");
|
||||
const auto *CurExecDir = CurDir.get<const OMPExecutableDirective *>();
|
||||
|
|
Loading…
Reference in New Issue