Changeset e82ef13


Ignore:
Timestamp:
Jul 10, 2018, 3:53:38 PM (3 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
d804830
Parents:
2dc6621
git-author:
Rob Schluntz <rschlunt@…> (07/10/18 14:45:18)
git-committer:
Rob Schluntz <rschlunt@…> (07/10/18 15:53:38)
Message:

Transfer location from typedef instance to actual type [fixes #97]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Validate.cc

    r2dc6621 re82ef13  
    890890                if ( def != typedefNames.end() ) {
    891891                        Type *ret = def->second.first->base->clone();
     892                        ret->location = typeInst->location;
    892893                        ret->get_qualifiers() |= typeInst->get_qualifiers();
    893894                        // attributes are not carried over from typedef to function parameters/return values
Note: See TracChangeset for help on using the changeset viewer.