Revert previous change which broke cling's testsuite.
The issue that was addressing the previous commit will be fixed with the upcoming changes anyway. git-svn-id: http://root.cern.ch/svn/root/trunk@46345 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
parent
2fbeb6ecd4
commit
6fd2a83a5c
@ -31,14 +31,14 @@ namespace cling {
|
||||
|
||||
bool DynamicIDHandler::LookupUnqualified(LookupResult& R, Scope* S) {
|
||||
|
||||
if (!IsDynamicLookup(R, S))
|
||||
return false;
|
||||
|
||||
InterpreterCallbacks* callbacks = m_Interpreter->getCallbacks();
|
||||
if (callbacks && callbacks->isEnabled()) {
|
||||
return callbacks->LookupObject(R, S);
|
||||
}
|
||||
|
||||
if (!IsDynamicLookup(R, S))
|
||||
return false;
|
||||
|
||||
DeclarationName Name = R.getLookupName();
|
||||
IdentifierInfo* II = Name.getAsIdentifierInfo();
|
||||
SourceLocation Loc = R.getNameLoc();
|
||||
|
Loading…
Reference in New Issue
Block a user