Refactor the locks of the expressionvisitor to keep the duchain locked for shorter periods
author Sven Brauch
()
committer Sven Brauch
()
commit 1818fbbc8877760ff8d4214b3eecf8e687ce3972
tree fd032874dd866c4e4bd7eb9712c53c07b9670faf
parent 96b246c002c1c9321ad869017fdf5b63f3b73ce2
Refactor the locks of the expressionvisitor to keep the duchain locked for shorter periods

For large files, there often was timeouts in locking the duchain,
hopefully that's better now.
Probably, this also introduces 3.4e17 new crash bugs.
codecompletion/context.cpp
duchain/declarationbuilder.cpp
duchain/expressionvisitor.cpp
duchain/usebuilder.cpp