Refactorization in valueflow.cpp: Removed redundant loop, rearranged code.
Refactorization: Support :: in some places in checkother.cpp
Support namespaces and static member variables in setVarId (only one depth) (#6061)