- File:
-
- 1 edited
-
src/ResolvExpr/AlternativeFinder.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/AlternativeFinder.h
rdc2e7e0 r3b58d91 67 67 virtual void visit( ImplicitCopyCtorExpr * impCpCtorExpr ); 68 68 public: // xxx - temporary hack - should make Tuples::TupleAssignment a friend 69 /// Runs a new alternative finder on each element in [begin, end) 70 /// and writes each alternative finder to out. 69 71 template< typename InputIterator, typename OutputIterator > 70 72 void findSubExprs( InputIterator begin, InputIterator end, OutputIterator out ); … … 72 74 private: 73 75 /// Adds alternatives for member expressions, given the aggregate, conversion cost for that aggregate, and name of the member 74 template< typename StructOrUnionType > void addAggMembers( StructOrUnionType *aggInst, Expression *expr, const Cost &newCost, const std::string &name);76 template< typename StructOrUnionType > void addAggMembers( StructOrUnionType *aggInst, Expression *expr, const Cost &newCost, Expression * member ); 75 77 /// Adds alternatives for offsetof expressions, given the base type and name of the member 76 78 template< typename StructOrUnionType > void addOffsetof( StructOrUnionType *aggInst, const std::string &name );
Note:
See TracChangeset
for help on using the changeset viewer.