Changes in src/GenPoly/GenPoly.cc [cf16f94:f8b961b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/GenPoly.cc
rcf16f94 rf8b961b 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Tue Dec 1 15:18:54201513 // Update Count : 1 211 // Last Modified By : Rob Schluntz 12 // Last Modified On : Tue Nov 24 15:23:08 2015 13 // Update Count : 11 14 14 // 15 15 … … 21 21 22 22 namespace GenPoly { 23 // A function needs an adapter if it returns a polymorphic value or if any of its parameters have polymorphic type 23 /// A function needs an adapter if it returns a polymorphic value or if any of its 24 /// parameters have polymorphic type 24 25 bool needsAdapter( FunctionType *adaptee, const TyVarMap &tyVars ) { 25 26 if ( ! adaptee->get_returnVals().empty() && isPolyVal( adaptee->get_returnVals().front()->get_type(), tyVars ) ) {
Note:
See TracChangeset
for help on using the changeset viewer.