CppTools: Add all diagnostic messages

...of type 'No such file or directory' to the CPlusPlus::Document. Only
the first one was added and as a result, the editor only wavely
underlined that one.

Add also diagnostic messages if it's not possible to get the file
contents.

Change-Id: I8389d8e6af9480ea6712759ce5e130e1dd8912f1
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Nikolai Kosjar
2014-02-19 09:11:59 -03:00
parent 16e16dc405
commit aa796a9fc0
4 changed files with 54 additions and 33 deletions

View File

@@ -124,6 +124,7 @@ private slots:
void test_cpppreprocessor_includes_resolvedUnresolved();
void test_cpppreprocessor_includes_cyclic();
void test_cpppreprocessor_includes_allDiagnostics();
void test_functionutils_virtualFunctions();
void test_functionutils_virtualFunctions_data();