Make saner use of the DUChain locks.
author Aleix Pol
()
committer Aleix Pol
()
commit 54a3832c0418a8fc72837485254ab726ca860eeb
tree aa1410ddb983b6143556e9fde7aef8df0f8e57d8
parent af2e77a4237b2348c59ab025389319caf085deb0
Make saner use of the DUChain locks.

Only use Write locks when needed, try to make locking more atomic.
Academic approach, I have no idea if this works faster at all, I have
no benchmarks.
projectmanagers/cmake/parser/cmakeprojectvisitor.cpp