Changeset 871cdb4 for src/SynTree/Declaration.h
- Timestamp:
- Sep 7, 2017, 10:35:32 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- b3f252a
- Parents:
- 234223f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
r234223f r871cdb4 155 155 virtual ~FunctionDecl(); 156 156 157 Type * get_type() const ;158 virtual void set_type(Type * );157 Type * get_type() const { return type; } 158 virtual void set_type(Type * t) { type = safe_dynamic_cast< FunctionType* >( t ); } 159 159 160 160 FunctionType * get_functionType() const { return type; }
Note: See TracChangeset
for help on using the changeset viewer.