forked from qt-creator/qt-creator
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:
@@ -55,7 +55,8 @@ public:
|
||||
protected:
|
||||
CPlusPlus::Document::Ptr switchDocument(CPlusPlus::Document::Ptr doc);
|
||||
|
||||
void getFileContents(const QString &absoluteFilePath, QByteArray *contents, unsigned *revision) const;
|
||||
bool getFileContents(const QString &absoluteFilePath, QByteArray *contents,
|
||||
unsigned *revision) const;
|
||||
bool checkFile(const QString &absoluteFilePath) const;
|
||||
QString resolveFile(const QString &fileName, IncludeType type);
|
||||
QString resolveFile_helper(const QString &fileName, IncludeType type);
|
||||
|
||||
Reference in New Issue
Block a user