compiler/AST/foralls.cpp
//
// The returned ShadowVarSymbol comes with a DefExpr in its defPoint.
//
The returned ShadowVarSymbol comes with a DefExpr in its defPoint.
The returned ShadowVarSymbol comes with a DefExpr in its defPoint .
ShadowVarSymbol* ShadowVarSymbol::buildForPrefix(ShadowVarPrefix prefix,
                                    Expr* nameExp, Expr* type, Expr* init)
{
  const char* nameString = toUnresolvedSymExpr(nameExp)->unresolved;
  if (type == NULL && init == NULL)
    return buildShadowVariable(prefix, nameString, nameExp);
  else
    return buildTaskPrivateVariable(prefix, nameString, nameExp, type, init);
}
ShadowVarSymbol * ShadowVarSymbol :: buildForPrefix ( ShadowVarPrefix prefix , Expr * nameExp , Expr * type , Expr * init ) { const char * nameString = toUnresolvedSymExpr ( nameExp ) -> unresolved ; if ( type == NULL && init == NULL ) return buildShadowVariable ( prefix , nameString , nameExp ) ; else return buildTaskPrivateVariable ( prefix , nameString , nameExp , type , init ) ; }
The returned ShadowVarSymbol comes with a DefExpr in its defPoint.
The returned ShadowVarSymbol comes with a DefExpr in its defPoint .
// non-TPV forall intent