Ignore:
Timestamp:
Jul 13, 2016, 1:43:57 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
d1b9d78
Parents:
a3e1f8f
Message:

Indexer now produces errors on CFA functions that overload C functions, does not consider restrict qualifier to break compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Indexer.h

    ra3e1f8f r8884112  
    100100                /// returns true if there exists a declaration with C linkage and the given name with a different mangled name
    101101                bool hasIncompatibleCDecl( const std::string &id, const std::string &mangleName, unsigned long scope ) const;
     102                /// returns true if there exists a declaration with C linkage and the given name with the same mangled name
     103                bool hasCompatibleCDecl( const std::string &id, const std::string &mangleName, unsigned long scope ) const;
    102104                // equivalents to lookup functions that only look at tables at scope `scope` (which should be >= tables->scope)
    103105                NamedTypeDecl *lookupTypeAtScope( const std::string &id, unsigned long scope ) const;
Note: See TracChangeset for help on using the changeset viewer.