We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f8abc0 commit 3422804Copy full SHA for 3422804
1 file changed
ApiExtractor/abstractmetabuilder.cpp
@@ -220,6 +220,13 @@ void AbstractMetaBuilder::traverseOperatorFunction(FunctionModelItem item)
220
bool firstArgumentIsSelf = true;
221
bool unaryOperator = false;
222
223
+ if (arguments.empty()) {
224
+ QString warning = QString("operator with no arguments found; ignoring");
225
+ ReportHandler::warning(warning);
226
+
227
+ return;
228
+ }
229
230
baseoperandClass = argumentToClass(arguments.at(0));
231
232
if (arguments.size() == 1) {
0 commit comments