- File:
-
- 1 edited
-
src/ResolvExpr/AlternativeFinder.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/AlternativeFinder.h
r3b58d91 rdc2e7e0 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.71 69 template< typename InputIterator, typename OutputIterator > 72 70 void findSubExprs( InputIterator begin, InputIterator end, OutputIterator out ); … … 74 72 private: 75 73 /// Adds alternatives for member expressions, given the aggregate, conversion cost for that aggregate, and name of the member 76 template< typename StructOrUnionType > void addAggMembers( StructOrUnionType *aggInst, Expression *expr, const Cost &newCost, Expression * member);74 template< typename StructOrUnionType > void addAggMembers( StructOrUnionType *aggInst, Expression *expr, const Cost &newCost, const std::string &name ); 77 75 /// Adds alternatives for offsetof expressions, given the base type and name of the member 78 76 template< typename StructOrUnionType > void addOffsetof( StructOrUnionType *aggInst, const std::string &name );
Note:
See TracChangeset
for help on using the changeset viewer.