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 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: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@46397 27541ba8-7e3a-0410-8455-c3a389f83636

marsupial/cling,root-mirror/cling,karies/cling,perovic/cling,root-mirror/cling,root-mirror/cling,karies/cling,karies/cling,perovic/cling,perovic/cling,marsupial/cling,root-mirror/cling,marsupial/cling,root-mirror/cling,marsupial/cling,root-mirror/cling,karies/cling,karies/cling,marsupial/cling,perovic/cling,karies/cling,perovic/cling,marsupial/cling