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