qt5base-lts/tests/auto/tools/moc
Olivier Goffart 71c85c554a moc: Fix crash parsing invalid macro invocation
When invoking a macro with less argument than it expect, we would
crash trying to access the vector of arguments from the invocation
as we are trying to substitute an argument.

(Note that we do not show an error in case of argument mismatch
because ithat might happen parsing valid code as moc's c++ parser
is not 100% accurate (that was QTBUG-29331))

Task-number: QTBUG-46210
Change-Id: I3f08d7f5049e593a5bdc02a594ea63cadf66e7a4
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
2015-05-30 08:37:11 +00:00
..
task71021 Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
Test.framework/Headers Update copyright headers 2015-02-11 06:49:51 +00:00
testproject Update copyright headers 2015-02-11 06:49:51 +00:00
.gitattributes Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
.gitignore Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
assign-namespace.h Update copyright headers 2015-02-11 06:49:51 +00:00
backslash-newlines.h Update copyright headers 2015-02-11 06:49:51 +00:00
c-comments.h Update copyright headers 2015-02-11 06:49:51 +00:00
cstyle-enums.h Update copyright headers 2015-02-11 06:49:51 +00:00
cxx11-enums.h Update copyright headers 2015-02-11 06:49:51 +00:00
cxx11-explicit-override-control.h Update copyright headers 2015-02-11 06:49:51 +00:00
cxx11-final-classes.h Update copyright headers 2015-02-11 06:49:51 +00:00
dir-in-include-path.h Update copyright headers 2015-02-11 06:49:51 +00:00
dollars.h Update copyright headers 2015-02-11 06:49:51 +00:00
error-on-wrong-notify.h Update copyright headers 2015-02-11 06:49:51 +00:00
escapes-in-string-literals.h Update copyright headers 2015-02-11 06:49:51 +00:00
extraqualification.h Update copyright headers 2015-02-11 06:49:51 +00:00
forgotten-qinterface.h Update copyright headers 2015-02-11 06:49:51 +00:00
forward-declared-param.h Update copyright headers 2015-02-11 06:49:51 +00:00
function-with-attributes.h Update copyright headers 2015-02-11 06:49:51 +00:00
gadgetwithnoenums.h Update copyright headers 2015-02-11 06:49:51 +00:00
grand-parent-gadget-class.h Update copyright headers 2015-02-11 06:49:51 +00:00
Header Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
interface-from-framework.h Update copyright headers 2015-02-11 06:49:51 +00:00
interface-from-include.h Update copyright headers 2015-02-11 06:49:51 +00:00
macro-on-cmdline.h Update copyright headers 2015-02-11 06:49:51 +00:00
moc.pro moc: Don't link to inexistent parent staticMetaObject 2015-01-13 11:25:53 +01:00
namespaced-flags.h Update copyright headers 2015-02-11 06:49:51 +00:00
no-keywords.h Update copyright headers 2015-02-11 06:49:51 +00:00
non-gadget-parent-class.h Update copyright headers 2015-02-11 06:49:51 +00:00
oldstyle-casts.h Update copyright headers 2015-02-11 06:49:51 +00:00
os9-newlines.h Update copyright headers 2015-02-11 06:49:51 +00:00
parse-boost.h Update copyright headers 2015-02-11 06:49:51 +00:00
parse-defines.h Update copyright headers 2015-02-11 06:49:51 +00:00
plugin_metadata.h Update copyright headers 2015-02-11 06:49:51 +00:00
pp-dollar-signs.h Update copyright headers 2015-02-11 06:49:51 +00:00
pure-virtual-signals.h Update copyright headers 2015-02-11 06:49:51 +00:00
qinvokable.h Update copyright headers 2015-02-11 06:49:51 +00:00
qprivateslots.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtbug-35657-gadget.h Update copyright headers 2015-02-11 06:49:51 +00:00
related-metaobjects-in-gadget.h Update copyright headers 2015-02-11 06:49:51 +00:00
related-metaobjects-in-namespaces.h Update copyright headers 2015-02-11 06:49:51 +00:00
related-metaobjects-name-conflict.h Update copyright headers 2015-02-11 06:49:51 +00:00
single_function_keyword.h Update copyright headers 2015-02-11 06:49:51 +00:00
single-quote-digit-separator-n3781.h Update copyright headers 2015-02-11 06:49:51 +00:00
slots-with-void-template.h Update copyright headers 2015-02-11 06:49:51 +00:00
task87883.h Update copyright headers 2015-02-11 06:49:51 +00:00
task189996.h Update copyright headers 2015-02-11 06:49:51 +00:00
task192552.h Update copyright headers 2015-02-11 06:49:51 +00:00
task234909.h Update copyright headers 2015-02-11 06:49:51 +00:00
task240368.h Update copyright headers 2015-02-11 06:49:51 +00:00
template-gtgt.h Update copyright headers 2015-02-11 06:49:51 +00:00
trigraphs.h Update copyright headers 2015-02-11 06:49:51 +00:00
tst_moc.cpp moc: Fix crash parsing invalid macro invocation 2015-05-30 08:37:11 +00:00
unterminated-function-macro.h Update copyright headers 2015-02-11 06:49:51 +00:00
using-namespaces.h Update copyright headers 2015-02-11 06:49:51 +00:00
warn-on-multiple-qobject-subclasses.h Update copyright headers 2015-02-11 06:49:51 +00:00
warn-on-property-without-read.h Update copyright headers 2015-02-11 06:49:51 +00:00
win-newlines.h Update copyright headers 2015-02-11 06:49:51 +00:00