Ignore:
Timestamp:
Mar 22, 2016, 12:48:17 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, string, with_gc
Children:
6c91065
Parents:
ae357ec
Message:

Fix indexer bugs introduced in refactor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Indexer.h

    rae357ec r5447e09  
    9797                /// looks up a specific mangled ID at the given scope
    9898                DeclarationWithType *lookupIdAtScope( const std::string &id, const std::string &mangleName, unsigned long scope ) const;
    99                 /// returns true if there exists a declaration with C linkage and the given name
    100                 bool hasCDeclWithName( const std::string &id ) const;
     99                /// returns true if there exists a declaration with C linkage and the given name with a different mangled name
     100                bool hasIncompatibleCDecl( const std::string &id, const std::string &mangleName ) const;
    101101                // equivalents to lookup functions that only look at tables at scope `scope` (which should be >= tables->scope)
    102102                NamedTypeDecl *lookupTypeAtScope( const std::string &id, unsigned long scope ) const;
Note: See TracChangeset for help on using the changeset viewer.