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);
|
Document::Ptr doc = Document::create(fileName);
|
||||||
//doc->control()->setDiagnosticClient(0);
|
//doc->control()->setDiagnosticClient(0);
|
||||||
doc->setSource(source);
|
doc->setUtf8Source(source);
|
||||||
doc->parse();
|
doc->parse();
|
||||||
|
|
||||||
doc->translationUnit()->blockErrors(true);
|
doc->translationUnit()->blockErrors(true);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
me=$(dirname $0)
|
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
|
$me/cplusplus0 $me/file.i
|
||||||
rm -f $me/file.i
|
rm -f $me/file.i
|
||||||
|
|||||||
Reference in New Issue
Block a user