Changes in / [3b58d91:cd14861]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Indexer.cc

    r3b58d91 rcd14861  
    145145                                std::list< DeclarationWithType * > params = function->get_functionType()->get_parameters();
    146146                                assert( ! params.empty() );
    147                                 funcMap[ Mangler::mangle( params.front()->get_type() ) ] += function;
     147                                // use base type of pointer, so that qualifiers on the pointer type aren't considered.
     148                                Type * base = safe_dynamic_cast< PointerType * >( params.front()->get_type() )->get_base();
     149                                funcMap[ Mangler::mangle( base ) ] += function;
    148150                        } else {
    149151                                out.push_back( decl );
Note: See TracChangeset for help on using the changeset viewer.