From: Axel Naumann Date: Fri, 12 Sep 2014 11:55:27 +0000 (+0200) Subject: Disable default cling-autoload callback (diag) for now. X-Git-Tag: v6-02-00-rc1~128^2~11 X-Git-Url: https://root.cern.ch/gitweb?p=root.git;a=commitdiff_plain;h=958d8da80d22fb72969dfa790e0a1c96f07be4af 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. --- diff --git a/interpreter/cling/lib/Interpreter/AutoloadCallback.cpp b/interpreter/cling/lib/Interpreter/AutoloadCallback.cpp index 36ab351..f0bfcff 100644 --- a/interpreter/cling/lib/Interpreter/AutoloadCallback.cpp +++ b/interpreter/cling/lib/Interpreter/AutoloadCallback.cpp @@ -45,8 +45,10 @@ namespace cling { } bool AutoloadCallback::LookupObject (TagDecl *t) { +#if 0 if (t->hasAttr()) report(t->getLocation(),t->getNameAsString(),t->getAttr()->getAnnotation()); +#endif return false; }