Commit def4b89e authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Fix mkvisitor.



Keep mkvisitor up to date with the current changes in the
Qt Creator repository.

Change-Id: I1e6770fb676f38a7d7aa5a2b4f1e38a2425cd686
Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
parent b1f3c69c
......@@ -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);
......
#!/bin/sh
me=$(dirname $0)
${CPP-gcc} -DCPLUSPLUS_WITHOUT_QT -U__BLOCKS__ -xc++ -E -include $me/conf.c++ ../../shared/cplusplus/AST.h > $me/file.i
${CPP-gcc} -DCPLUSPLUS_WITHOUT_QT -U__BLOCKS__ -xc++ -E -include $me/conf.c++ ../../libs/3rdparty/cplusplus/AST.h > $me/file.i
$me/cplusplus0 $me/file.i
rm -f $me/file.i
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment