Fix test after changes in TH1::Fill (http://root.cern.ch/viewvc?view=rev&revision=46380)


git-svn-id: https://root.cern.ch/svn/root/trunk@46391 27541ba8-7e3a-0410-8455-c3a389f83636
* Add another overload taking DeclarationName as an argument. This is useful when
we have to deal with failed lookups.
* Improve documentation.


git-svn-id: https://root.cern.ch/svn/root/trunk@46394 27541ba8-7e3a-0410-8455-c3a389f83636
Implement functions that check whether a name was interpreter-generated.


git-svn-id: https://root.cern.ch/svn/root/trunk@46395 27541ba8-7e3a-0410-8455-c3a389f83636
The callback class implements LookupObject callback, which should be called even
no dynamic scopes are involved. The information about a failed lookup comes from 
slightly different channel - ExternalSemaSource (if attached to sema).

In order to make the callback LookupObject work when we attach an arbitrary 
callback class we should attach ExternalSemaSource to Sema as well. This require
a default implementation for an ExternalSemaSource.


git-svn-id: https://root.cern.ch/svn/root/trunk@46396 27541ba8-7e3a-0410-8455-c3a389f83636
The ExternalSemaSource mentioned in the previous commit message is thought (in clang)
to be a single object.
ASTReader (aka PCM reader) attaches itself as an ExternalSemaSource.
When cling attaches a callback class and the ASTReader attaches itself they step
on one another's feet.

The patch implements in clang the notion of multiplex ExternalSemaSources and 
adapts cling to make use of it. It will be soon proposed to end up in clang
mainline.


git-svn-id: https://root.cern.ch/svn/root/trunk@46397 27541ba8-7e3a-0410-8455-c3a389f83636
Register the patch so that EC can be happy while building the nightlies.


git-svn-id: https://root.cern.ch/svn/root/trunk@46398 27541ba8-7e3a-0410-8455-c3a389f83636
Add the InterpreterCallbacks.cpp to cmake build system.


git-svn-id: https://root.cern.ch/svn/root/trunk@46399 27541ba8-7e3a-0410-8455-c3a389f83636
TThreadPool
- the stresstest is updated to show a usage of the Drain method.


git-svn-id: https://root.cern.ch/svn/root/trunk@46404 27541ba8-7e3a-0410-8455-c3a389f83636
Implement ROOT-specific callbacks, which are used to update list of globals on
global inserted or global unloaded.

The callback LookupObject is disabled due to the current state of the
lookup (the one including parsing). The lookup parser assumes that it uses the
parser in a sort-of final state (eg. after parsing a top level declaration). For
the failed lookups this is not true because a failed lookup can happen at every
point in parsing.


git-svn-id: https://root.cern.ch/svn/root/trunk@46405 27541ba8-7e3a-0410-8455-c3a389f83636
Make the typename more 'ROOT/CINT' compliant


git-svn-id: https://root.cern.ch/svn/root/trunk@46406 27541ba8-7e3a-0410-8455-c3a389f83636
Migrate DataMemberInfo__ValidArrayIndex from rootcling to TMetaUtils


git-svn-id: https://root.cern.ch/svn/root/trunk@46409 27541ba8-7e3a-0410-8455-c3a389f83636
No need of -verify and -I for that test.


git-svn-id: https://root.cern.ch/svn/root/trunk@46410 27541ba8-7e3a-0410-8455-c3a389f83636
In DataMemberInfo__ValidArrayIndex add support comments coming from annotation.  Use llvm::StringRef directly.


git-svn-id: https://root.cern.ch/svn/root/trunk@46411 27541ba8-7e3a-0410-8455-c3a389f83636
Fix usage of static var and StringRef


git-svn-id: https://root.cern.ch/svn/root/trunk@46412 27541ba8-7e3a-0410-8455-c3a389f83636
Repair TClingDataMemberInfo.h to properly support the SingleDecl ....   Implement ValidArrayIndex


git-svn-id: https://root.cern.ch/svn/root/trunk@46413 27541ba8-7e3a-0410-8455-c3a389f83636
Add missing initialization


git-svn-id: https://root.cern.ch/svn/root/trunk@46414 27541ba8-7e3a-0410-8455-c3a389f83636
fix calculation of indevarlen


git-svn-id: https://root.cern.ch/svn/root/trunk@46415 27541ba8-7e3a-0410-8455-c3a389f83636
TThreadPool
- fixed the Drain method. Wait until all tasks are really done.


git-svn-id: https://root.cern.ch/svn/root/trunk@46416 27541ba8-7e3a-0410-8455-c3a389f83636
Implement R__GetDataMemberFromAllParents (and fix minor typos)


git-svn-id: https://root.cern.ch/svn/root/trunk@46417 27541ba8-7e3a-0410-8455-c3a389f83636
From Elvin:

Make a cleaner difference between the actual capacity and useful data contained in a recycled block. The previous approach fixed the bug but it was still unclear when recycling blocks as the capacity was confused with the useful data contained in the buffer.


git-svn-id: https://root.cern.ch/svn/root/trunk@46419 27541ba8-7e3a-0410-8455-c3a389f83636