forked from qt-creator/qt-creator
Fix mkvisitor.
Keep mkvisitor up to date with the current changes in the Qt Creator repository. Change-Id: I1e6770fb676f38a7d7aa5a2b4f1e38a2425cd686 Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
@@ -442,7 +442,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
Document::Ptr doc = Document::create(fileName);
|
||||
//doc->control()->setDiagnosticClient(0);
|
||||
doc->setSource(source);
|
||||
doc->setUtf8Source(source);
|
||||
doc->parse();
|
||||
|
||||
doc->translationUnit()->blockErrors(true);
|
||||
|
||||
Reference in New Issue
Block a user