Improve contentContextFromProxyContext so that it never returns the wrong content...
authorDavid Nolden <nolden@i6.informatik.rwth-aachen.de>
Wed, 3 Nov 2010 13:24:58 +0000 (14:24 +0100)
committerDavid Nolden <nolden@i6.informatik.rwth-aachen.de>
Wed, 3 Nov 2010 13:24:58 +0000 (14:24 +0100)
commiteb7c48f5c4e8bd9eb1477ec55f37674bdfef0fee
tree04a13f857418683d224c2fa2320b4d13d794c362
parent5ed16cd32dea7d2b94dd81d68b3f0681d1a7bced
Improve contentContextFromProxyContext so that it never returns the wrong content-context, better return zero.
This should solve some seldom duchain glitches and even assertions, that could happen when the import structure somehow got screwed up.
languages/cpp/cpplanguagesupport.cpp
languages/cpp/cppparsejob.cpp
languages/cpp/preprocessjob.cpp
languages/cpp/preprocessjob.h