forked from OSchip/llvm-project
Fix VS2013 build of CGOpenMPRuntime.cpp
It seems the compiler was getting confused by the in-class initializers in local struct MapInfo, so moving those to a default constructor instead. llvm-svn: 277256
This commit is contained in:
parent
400fc1af43
commit
bc1b58d086
|
@ -5456,9 +5456,13 @@ public:
|
|||
RPK_MemberReference,
|
||||
};
|
||||
OMPClauseMappableExprCommon::MappableExprComponentListRef Components;
|
||||
OpenMPMapClauseKind MapType = OMPC_MAP_unknown;
|
||||
OpenMPMapClauseKind MapTypeModifier = OMPC_MAP_unknown;
|
||||
ReturnPointerKind ReturnDevicePointer = RPK_None;
|
||||
OpenMPMapClauseKind MapType;
|
||||
OpenMPMapClauseKind MapTypeModifier;
|
||||
ReturnPointerKind ReturnDevicePointer;
|
||||
|
||||
MapInfo()
|
||||
: MapType(OMPC_MAP_unknown), MapTypeModifier(OMPC_MAP_unknown),
|
||||
ReturnDevicePointer(RPK_None) {}
|
||||
MapInfo(
|
||||
OMPClauseMappableExprCommon::MappableExprComponentListRef Components,
|
||||
OpenMPMapClauseKind MapType, OpenMPMapClauseKind MapTypeModifier,
|
||||
|
|
Loading…
Reference in New Issue