Disable default cling-autoload callback (diag) for now.

The only real current user - ROOT - cannot make use of the diagnostics.
Instead the default callback should probably only be invoked if none of
the other, multiplexed handlers returns true.
This commit is contained in:
Axel Naumann 2014-09-12 13:55:27 +02:00 committed by sftnight
parent b7a590c40e
commit e74ae3cf0f

View File

@ -45,8 +45,10 @@ namespace cling {
}
bool AutoloadCallback::LookupObject (TagDecl *t) {
#if 0
if (t->hasAttr<AnnotateAttr>())
report(t->getLocation(),t->getNameAsString(),t->getAttr<AnnotateAttr>()->getAnnotation());
#endif
return false;
}