Ignore:
Timestamp:
Jun 19, 2018, 2:13:34 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, 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
Children:
c194661
Parents:
47498bd
git-author:
Rob Schluntz <rschlunt@…> (06/19/18 14:13:29)
git-committer:
Rob Schluntz <rschlunt@…> (06/19/18 14:13:34)
Message:

Fix lookup{SUE}AtScope? functions to look in only a specific scope and provide lookupAtGlobalScope functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Indexer.h

    r47498bd r9a7a3b6  
    7070                /// Gets the top-most trait declaration with the given ID
    7171                TraitDecl *lookupTrait( const std::string &id ) const;
     72
     73                /// Gets the struct declaration with the given ID at global scope
     74                StructDecl *globalLookupStruct( const std::string &id ) const;
     75                /// Gets the union declaration with the given ID at global scope
     76                UnionDecl *globalLookupUnion( const std::string &id ) const;
     77                /// Gets the enum declaration with the given ID at global scope
     78                EnumDecl *globalLookupEnum( const std::string &id ) const;
    7279
    7380                void print( std::ostream &os, int indent = 0 ) const;
Note: See TracChangeset for help on using the changeset viewer.