C++: fix scope matching for templates in FindUsages

When the cursor is on the name of declaration of a templated function,
then since f93758b8e1d68ed28dc1a84b71c906d58784cb70 the scope returned
by Document::findScopeAt is the scope of the template declaration.
Before it was the parent scope of the template declaration.

The check in FindUsages::checkCandidates did not check all combinations
of template(-child symbol) scopes for the searched symbol and its
occurrences.

Task-number: QTCREATORBUG-9749

Change-Id: Idc84a2ba718721ce54683a67635a93352784ddd1
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Squish: Avoid false positive warnings

Change-Id: I6cf15b571aae9a1ba4dcd02048e7ca6b21fab1da
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Debugger: Improve hash "unsalting" in auto tests

Do it in code. Relying on the environment variable breaks in
too many cases (remote; unmodified project; ...) to be useful.

Change-Id: I67577fef22942d75d32d356f38c4ff0c752fe157
Reviewed-by: hjk <hjk121@nokiamail.com>
Qbs: Do not export symbols

Change-Id: I0e2332156ba481562ac3c2bc9fb1930f1368b2c9
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Qbs: Fix QbsRunConfiguration setup

Task-number: QBS-349
Task-number: QBS-355
Change-Id: Ibfa88e2d5ec59984c54ae9f69659f231a962a64c
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
qbs  updates.

- Make project files buildable with current qbs.
- Update qbs submodule to enable Qt Creator to open these project files.
- Fix an invalid access that caused a soft assert.

Change-Id: I976d19240112d1ff048e51036e6702383735352b
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Debugger: Fix inames of array items with LLDB

Harmless, but needlessly breaks auto tests.

Change-Id: Iee470411c02686b6975c1e7efd79ac802eb37037
Reviewed-by: hjk <hjk121@nokiamail.com>
Debugger: Align dummy member names in anon structs

Use the same numbering schem for GDB and LLDB.
More consistent, helps auto tests.

Change-Id: I9b50dd4b43bdc12fac329d33e158fa759bee4d28
Reviewed-by: hjk <hjk121@nokiamail.com>
Debugger: Add facility to check float values in auto tests

Change-Id: Iee50dd4b43bdc12fac329d33e158fa759bee4d28
Reviewed-by: hjk <hjk121@nokiamail.com>
Debugger: Split <complex.h> auto test into GDB/LLDB specific

Results are different, but ok.

Change-Id: I5550dd4b43bdc12fac329d33e158fa759bee4d28
Reviewed-by: hjk <hjk121@nokiamail.com>
Debugger: Fix libc++ std::{unique,shared}_ptr dumpers

Change-Id: I9efb22543bf31f43381e57fb0acf4aeb15e8a293
Reviewed-by: hjk <hjk121@nokiamail.com>
Merge remote-tracking branch 'origin/2.8' into HEAD

Conflicts:
	src/libs/cplusplus/FindUsages.cpp
	tests/auto/cplusplus/findusages/tst_findusages.cpp
	tests/auto/debugger/tst_dumpers.cpp

Change-Id: I20e2002c7b25cc25d8120922fa9b52e59db498e3