Using directive decls must not be added in the scope chains. Fixes second part
of savannah #99294 git-svn-id: http://root.cern.ch/svn/root/trunk@47947 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
parent
b117bb49de
commit
242e1feb89
@ -470,6 +470,10 @@ namespace cling {
|
||||
// Template instantiations should also not be pushed into scope.
|
||||
if (isa<FunctionDecl>(ND) &&
|
||||
cast<FunctionDecl>(ND)->isFunctionTemplateSpecialization())
|
||||
return false;
|
||||
|
||||
// Using directives are not registered onto the scope chain
|
||||
if (isa<UsingDirectiveDecl>(ND))
|
||||
return false;
|
||||
|
||||
IdentifierResolver::iterator
|
||||
|
Loading…
x
Reference in New Issue
Block a user