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