File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -7111,11 +7111,9 @@ class MappableExprsHandler {
71117111 if (AttachEntry.second) {
71127112 // Check if the attach pointer expression is a DeclRefExpr that
71137113 // references the captured variable
7114- if (const auto *DRE = dyn_cast<DeclRefExpr>(AttachEntry.second)) {
7115- if (DRE->getDecl() == VD) {
7114+ if (const auto *DRE = dyn_cast<DeclRefExpr>(AttachEntry.second))
7115+ if (DRE->getDecl() == VD)
71167116 return true;
7117- }
7118- }
71197117 }
71207118 }
71217119 return false;
@@ -7126,9 +7124,8 @@ class MappableExprsHandler {
71267124 OMPClauseMappableExprCommon::MappableExprComponentListRef Components)
71277125 const {
71287126 auto It = AttachPtrExprMap.find(Components);
7129- if (It != AttachPtrExprMap.end()) {
7127+ if (It != AttachPtrExprMap.end())
71307128 return It->second;
7131- }
71327129
71337130 return nullptr;
71347131 }
You can’t perform that action at this time.
0 commit comments