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

@@ -1852,7 +1852,7 @@ void CppCodeCompletion::complete(const TextEditor::CompletionItem &item, QChar t
if (! function->hasReturnType() && (function->identity() && !function->identity()->isDestructorNameId())) {
// Don't insert any magic, since the user might have just wanted to select the class
#warning robe: "don't insert matching ( when the selected symbol is a template"
/// ### port me
#if 0
} else if (function->templateParameterCount() != 0 && typedChar != QLatin1Char('(')) {
// If there are no arguments, then we need the template specification