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

@@ -50,8 +50,6 @@ using namespace CPlusPlus;
namespace {
const bool debug = ! qgetenv("CPLUSPLUS_DEBUG").isEmpty();
template <typename _Tp>
static QList<_Tp> removeDuplicates(const QList<_Tp> &results)
{
@@ -549,8 +547,11 @@ bool ResolveExpression::visit(ArrayAccessAST *ast)
QList<LookupItem> ResolveExpression::getMembers(ClassOrNamespace *binding, const Name *memberName) const
{
Q_UNUSED(binding);
Q_UNUSED(memberName);
// ### port me
QList<LookupItem> members;
#warning robe: enable template instantiation
#if 0
const QList<LookupItem> originalMembers = binding->find(memberName);