Changeset 2e5fa345


Ignore:
Timestamp:
May 15, 2018, 4:18:25 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, new-env, no_list, persistent-indexer, with_gc
Children:
bd6e226
Parents:
358cba0
Message:

Fix uninitialized DeclarationNode? member

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/DeclarationNode.cc

    r358cba0 r2e5fa345  
    5454
    5555DeclarationNode::DeclarationNode() :
     56                builtin( NoBuiltinType ),
    5657                type( nullptr ),
    5758                bitfieldWidth( nullptr ),
     
    101102        newnode->name = name ? new string( *name ) : nullptr;
    102103
     104        newnode->builtin = NoBuiltinType;
    103105        newnode->type = maybeClone( type );
    104106        newnode->storageClasses = storageClasses;
Note: See TracChangeset for help on using the changeset viewer.