Don't try to remove the hidden decls from the lookup.
This commit is contained in:
parent
b5205ab61e
commit
499901e277
@ -303,7 +303,9 @@ namespace cling {
|
||||
if (!Map)
|
||||
return false;
|
||||
StoredDeclsMap::iterator Pos = Map->find(VD->getDeclName());
|
||||
assert(Pos != Map->end() && "no lookup entry for decl");
|
||||
// FIXME: All of that should be moved in VisitNamedDecl
|
||||
assert((VD->isHidden() || Pos != Map->end())
|
||||
&& "no lookup entry for decl");
|
||||
|
||||
if (Pos->second.isNull())
|
||||
// We need to rewire the list of the redeclarations in order to exclude
|
||||
|
Loading…
x
Reference in New Issue
Block a user