Changeset cf16f94 for src/SynTree
- Timestamp:
- Dec 15, 2015, 4:09:13 PM (10 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, string, with_gc
- Children:
- 4389966
- Parents:
- b0b958a
- Location:
- src/SynTree
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/PointerType.cc
rb0b958a rcf16f94 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon May 18 10:15:16201513 // Update Count : 212 // Last Modified On : Tue Dec 15 15:39:10 2015 13 // Update Count : 5 14 14 // 15 15 … … 20 20 PointerType::PointerType( const Type::Qualifiers &tq, Type *base ) 21 21 : Type( tq ), base( base ), dimension( 0 ), isVarLen( false ), isStatic( false ) { 22 base->set_isLvalue( false );23 22 } 24 23 25 24 PointerType::PointerType( const Type::Qualifiers &tq, Type *base, Expression *dimension, bool isVarLen, bool isStatic ) 26 25 : Type( tq ), base( base ), dimension( dimension ), isVarLen( isVarLen ), isStatic( isStatic ) { 27 base->set_isLvalue( false );28 26 } 29 27 -
src/SynTree/Type.h
rb0b958a rcf16f94 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Nov 2 0 12:54:09201513 // Update Count : 1 512 // Last Modified On : Fri Nov 27 17:54:31 2015 13 // Update Count : 16 14 14 // 15 15 … … 188 188 virtual ~FunctionType(); 189 189 190 std::list<DeclarationWithType*> & get_returnVals() { return returnVals; }191 std::list<DeclarationWithType*> & get_parameters() { return parameters; }190 std::list<DeclarationWithType*> & get_returnVals() { return returnVals; } 191 std::list<DeclarationWithType*> & get_parameters() { return parameters; } 192 192 bool get_isVarArgs() { return isVarArgs; } 193 193 void set_isVarArgs( bool newValue ) { isVarArgs = newValue; }
Note:
See TracChangeset
for help on using the changeset viewer.