Changeset d76c588 for src/AST/Type.cpp
- Timestamp:
- May 30, 2019, 4:10:24 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 8d70648
- Parents:
- eba615c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Type.cpp
reba615c rd76c588 27 27 namespace ast { 28 28 29 const Type * Type::getComponent( unsigned i ) {29 const Type * Type::getComponent( unsigned i ) const { 30 30 assertf( size() == 1 && i == 0, "Type::getComponent was called with size %d and index %d\n", size(), i ); 31 31 return this; 32 32 } 33 33 34 const Type * Type::stripDeclarator() {34 const Type * Type::stripDeclarator() const { 35 35 const Type * t; 36 36 const Type * a; … … 39 39 } 40 40 41 const Type * Type::stripReferences() {41 const Type * Type::stripReferences() const { 42 42 const Type * t; 43 43 const ReferenceType * r;
Note: See TracChangeset
for help on using the changeset viewer.