From 958d8da80d22fb72969dfa790e0a1c96f07be4af Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Fri, 12 Sep 2014 13:55:27 +0200 Subject: [PATCH] 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. --- interpreter/cling/lib/Interpreter/AutoloadCallback.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 1.8.2