Changeset 0f9e4403 for src/CodeGen/GenType.cc
- Timestamp:
- Apr 15, 2016, 12:03:11 PM (9 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, with_gc
- Children:
- 29ad0ac
- Parents:
- c5833e8 (diff), 37f0da8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/GenType.cc
rc5833e8 r0f9e4403 19 19 #include "GenType.h" 20 20 #include "CodeGenerator.h" 21 22 #include "SynTree/Declaration.h" 23 #include "SynTree/Expression.h" 24 #include "SynTree/Type.h" 21 25 #include "SynTree/Visitor.h" 22 #include "SynTree/Type.h"23 #include "SynTree/Expression.h"24 26 25 27 namespace CodeGen { … … 39 41 virtual void visit( EnumInstType *enumInst ); 40 42 virtual void visit( TypeInstType *typeInst ); 43 virtual void visit( VarArgsType *varArgsType ); 41 44 42 45 private: … … 191 194 } 192 195 196 void GenType::visit( VarArgsType *varArgsType ) { 197 typeString = "__builtin_va_list " + typeString; 198 handleQualifiers( varArgsType ); 199 } 200 193 201 void GenType::handleQualifiers( Type *type ) { 194 202 if ( type->get_isConst() ) {
Note:
See TracChangeset
for help on using the changeset viewer.