- File:
-
- 1 edited
-
src/ResolvExpr/AlternativeFinder.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/AlternativeFinder.h
r2a4b088 r47534159 56 56 virtual void visit( ConstantExpr *constantExpr ); 57 57 virtual void visit( SizeofExpr *sizeofExpr ); 58 virtual void visit( AlignofExpr *alignofExpr ); 59 virtual void visit( UntypedOffsetofExpr *offsetofExpr ); 60 virtual void visit( OffsetofExpr *offsetofExpr ); 58 virtual void visit( AlignofExpr *sizeofExpr ); 61 59 virtual void visit( AttrExpr *attrExpr ); 62 60 virtual void visit( LogicalExpr *logicalExpr ); … … 69 67 70 68 private: 71 /// Adds alternatives for member expressions, given the aggregate, conversion cost for that aggregate, and name of the member72 69 template< typename StructOrUnionType > void addAggMembers( StructOrUnionType *aggInst, Expression *expr, const Cost &newCost, const std::string &name ); 73 /// Adds alternatives for offsetof expressions, given the base type and name of the member74 template< typename StructOrUnionType > void addOffsetof( StructOrUnionType *aggInst, const std::string &name );75 70 bool instantiateFunction( std::list< DeclarationWithType* >& formals, /*const*/ AltList &actuals, bool isVarArgs, OpenVarSet& openVars, TypeEnvironment &resultEnv, AssertionSet &resultNeed, AssertionSet &resultHave ); 76 71 template< typename OutputIterator >
Note:
See TracChangeset
for help on using the changeset viewer.