Changeset bf4ac09 for src/SynTree/Type.cc
- Timestamp:
- Mar 15, 2017, 9:25:42 PM (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:
- f2e40a9f
- Parents:
- 572547c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Type.cc
r572547c rbf4ac09 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Feb 2 11:26:24201713 // Update Count : 1 212 // Last Modified On : Wed Mar 15 21:22:16 2017 13 // Update Count : 15 14 14 // 15 15 … … 59 59 } 60 60 61 void Type::Qualifiers::print( std::ostream &os, int indent ) const { 62 if ( isConst ) { 63 os << "const "; 64 } // if 65 if ( isVolatile ) { 66 os << "volatile "; 67 } // if 68 if ( isRestrict ) { 69 os << "restrict "; 70 } // if 71 if ( isLvalue ) { 72 os << "lvalue "; 73 } // if 74 if ( isAtomic ) { 75 os << "_Atomic "; 76 } // if 77 } 61 const char * Type::QualifierNames[] = { "const", "restrict", "volatile", "lvalue", "mutex", "_Atomic", "NoTypeQualifierNames" }; 78 62 79 63 void Type::print( std::ostream &os, int indent ) const {
Note: See TracChangeset
for help on using the changeset viewer.