Changeset cf16f94 for src/SynTree/PointerType.cc
- Timestamp:
- Dec 15, 2015, 4:09:13 PM (7 years ago)
- Branches:
- aaron-thesis, arm-eh, 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
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.