forked from qt-creator/qt-creator
C++11: add support for static_assert.
Change-Id: I82d8d60acaa9265fd25e0a3734855b19bdef9c06 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
@@ -145,6 +145,7 @@ void parse(const char *fileName, const char *source, unsigned size)
|
||||
Control control;
|
||||
TranslationUnit unit(&control, control.stringLiteral(fileName));
|
||||
unit.setSource(source, size);
|
||||
unit.setCxxOxEnabled(true);
|
||||
unit.parse();
|
||||
|
||||
#if 1
|
||||
|
||||
Reference in New Issue
Block a user