forked from qt-creator/qt-creator
--warnings
This commit is contained in:
@@ -777,7 +777,7 @@ QVector<Token> Preprocessor::tokenize(const QByteArray &text) const
|
||||
return tokens;
|
||||
}
|
||||
|
||||
void Preprocessor::processInclude(bool skipCurentPath,
|
||||
void Preprocessor::processInclude(bool,
|
||||
TokenIterator firstToken, TokenIterator lastToken,
|
||||
bool acceptMacros)
|
||||
{
|
||||
@@ -786,6 +786,7 @@ void Preprocessor::processInclude(bool skipCurentPath,
|
||||
++tk; // skip `include|nclude_next'
|
||||
|
||||
if (acceptMacros && tk->is(T_IDENTIFIER)) {
|
||||
// ### TODO: implement me
|
||||
#if 0
|
||||
QByteArray name;
|
||||
name.reserve(256);
|
||||
|
@@ -212,7 +212,7 @@ bool CheckExpression::visit(TemplateIdAST *ast)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CheckExpression::visit(NewExpressionAST *ast)
|
||||
bool CheckExpression::visit(NewExpressionAST *)
|
||||
{
|
||||
// ### FIXME
|
||||
//FullySpecifiedType exprTy = semantic()->check(ast->expression, _scope);
|
||||
|
@@ -324,6 +324,9 @@ void Scope::addUse(unsigned sourceOffset, Name *name)
|
||||
else
|
||||
lastVisibleSymbol = _symbols[_symbolCount];
|
||||
_uses[_useCount].init(sourceOffset, name, lastVisibleSymbol);
|
||||
#else
|
||||
(void) sourceOffset;
|
||||
(void) name;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user