qt5base-lts/tests/auto/tools/moc
Olivier Goffart b05f19f232 moc: Fix infinite recursion in macro substitution
When performing macro argument substitution, one should keep the set of
macro to exclude, else we can enter an infinite recursion.

Testcase:
 #define M1(A) A
 #define M2 M1(M2)

Task-number: QTBUG-29759
Change-Id: I564bbfed65e1c8599592eaf12c6d67285d2fd9ce
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
2013-02-21 16:55:41 +01:00
..
task71021 Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
Test.framework/Headers Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
testproject Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01: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 year in Digia's license headers 2013-01-18 09:07:35 +01:00
backslash-newlines.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
c-comments.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
cstyle-enums.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
cxx11-enums.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
cxx11-explicit-override-control.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
cxx11-final-classes.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
dir-in-include-path.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
error-on-wrong-notify.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
escapes-in-string-literals.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
extraqualification.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
forgotten-qinterface.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
forward-declared-param.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
function-with-attributes.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
gadgetwithnoenums.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01: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 year in Digia's license headers 2013-01-18 09:07:35 +01:00
macro-on-cmdline.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
moc.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00
namespaced-flags.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
no-keywords.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
oldstyle-casts.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
os9-newlines.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
parse-boost.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
parse-defines.h moc: Fix infinite recursion in macro substitution 2013-02-21 16:55:41 +01:00
pp-dollar-signs.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
pure-virtual-signals.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qinvokable.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qprivateslots.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
single_function_keyword.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
slots-with-void-template.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task87883.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task189996.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task192552.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task234909.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
task240368.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
template-gtgt.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
trigraphs.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
tst_moc.cpp moc: Fix infinite recursion in macro substitution 2013-02-21 16:55:41 +01:00
unterminated-function-macro.h moc: Error out when detecting unterminated macro usage 2013-02-19 20:51:44 +01:00
using-namespaces.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
warn-on-multiple-qobject-subclasses.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
warn-on-property-without-read.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
win-newlines.h Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00