danmar/cppcheck — pull request #452 by Dmitry-Me (2014-10-02 08:26:55+00:00)
Title: Don't proceed to outer scope once match is found

I'm not sure about this. The current code has this comment:

// look for variable type in any using namespace in this scope or above

which somehow implies that the first match found would be the right one. However the implementation only breaks the inner loop and so effectively proceeds to outer scope. Either the code is right (and then the comment should be fixed) or the code is wrong (and then this PR should be merged).