Get rid of the #warning directives.

This commit is contained in:
Roberto Raggi
2010-08-11 15:48:21 +02:00
parent f34fd810d5
commit 2ebaf3fe5b
8 changed files with 15 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ public:
bool blockErrors = false,
bool qtMocRun = false)
{
const StringLiteral *fileId = control.findOrInsertStringLiteral("<stdin>");
const StringLiteral *fileId = control.stringLiteral("<stdin>");
TranslationUnit *unit = new TranslationUnit(&control, fileId);
unit->setObjCEnabled(true);
unit->setQtMocRunEnabled(qtMocRun);