Changeset 450805a for src


Ignore:
Timestamp:
Jun 28, 2018, 11:37:37 AM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
e73becf
Parents:
b16923d
git-author:
Rob Schluntz <rschlunt@…> (06/28/18 11:37:32)
git-committer:
Rob Schluntz <rschlunt@…> (06/28/18 11:37:37)
Message:

Add codegen for variable with qualified type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/GenType.cc

    rb16923d r450805a  
    317317                assertf( ! genC, "Qualified types should not reach code generation." );
    318318                std::ostringstream os;
    319                 os << genType( qualType->parent, "", pretty, genC, lineMarks ) << "." << genType( qualType->child, "", pretty, genC, lineMarks );
     319                os << genType( qualType->parent, "", pretty, genC, lineMarks ) << "." << genType( qualType->child, "", pretty, genC, lineMarks ) << typeString;
    320320                typeString = os.str();
    321321                handleQualifiers( qualType );
Note: See TracChangeset for help on using the changeset viewer.