Changeset d63eeb0 for src/ResolvExpr/AlternativeFinder.h
- Timestamp:
- Feb 9, 2016, 3:25:05 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 7528ba1
- Parents:
- 771b3c3 (diff), bd85400 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/ResolvExpr/AlternativeFinder.h ¶
r771b3c3 rd63eeb0 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.