qt6-bb10/tests/auto/tools/moc
Fabian Kosmale 62d02c1d50 moc: Treat number + characters as Identifier, not Number
While <DIGIT>+<Character> is not a valid identifier by itself in the C++
language, it might become one when using it with the token pasting
operator.

This risks confusing some number literals with suffix as Identifiers,
but those are currently not supported anyway, so this shouldn't break
anything that is currently working.

Fixes: QTBUG-87219
Fixes: QTBUG-124288
Pick-to: 6.7
Change-Id: If73255cc0e6649bc90c52b1d177aac8ff975ae69
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2024-04-17 04:38:22 +02:00
..
Test.framework/Headers Change license for tests files 2024-02-04 09:56:42 +01:00
subdir
task71021
testproject Change license for tests files 2024-02-04 09:56:42 +01:00
.gitattributes
.gitignore
CMakeLists.txt moc: store the FQN in JSON superClass objects 2024-01-26 23:50:57 +01:00
Header
allmocs_baseline_in.json moc: store the FQN in JSON superClass objects 2024-01-26 23:50:57 +01:00
assign-namespace.h Change license for tests files 2024-02-04 09:56:42 +01:00
backslash-newlines.h Change license for tests files 2024-02-04 09:56:42 +01:00
c-comments.h Change license for tests files 2024-02-04 09:56:42 +01:00
cstyle-enums.h Change license for tests files 2024-02-04 09:56:42 +01:00
cxx-attributes.h Change license for tests files 2024-02-04 09:56:42 +01:00
cxx11-enums.h Change license for tests files 2024-02-04 09:56:42 +01:00
cxx11-explicit-override-control.h Change license for tests files 2024-02-04 09:56:42 +01:00
cxx11-final-classes.h Change license for tests files 2024-02-04 09:56:42 +01:00
cxx11-trailing-return.h Change license for tests files 2024-02-04 09:56:42 +01:00
cxx17-namespaces.h Change license for tests files 2024-02-04 09:56:42 +01:00
dir-in-include-path.h Change license for tests files 2024-02-04 09:56:42 +01:00
dollars.h Change license for tests files 2024-02-04 09:56:42 +01:00
enum_inc.h moc: Handle include in enum, take 2 2020-11-03 19:36:34 +00:00
enum_with_include.h Change license for tests files 2024-02-04 09:56:42 +01:00
error-on-wrong-notify.h Change license for tests files 2024-02-04 09:56:42 +01:00
escapes-in-string-literals.h Change license for tests files 2024-02-04 09:56:42 +01:00
extraqualification.h Change license for tests files 2024-02-04 09:56:42 +01:00
forgotten-qinterface.h Change license for tests files 2024-02-04 09:56:42 +01:00
forward-declared-param.h Change license for tests files 2024-02-04 09:56:42 +01:00
forwarddeclaredparam.h
function-with-attributes.h Change license for tests files 2024-02-04 09:56:42 +01:00
fwdclass1.h Change license for tests files 2024-02-04 09:56:42 +01:00
fwdclass2.h Change license for tests files 2024-02-04 09:56:42 +01:00
fwdclass3.h Change license for tests files 2024-02-04 09:56:42 +01:00
gadgetwithnoenums.h Change license for tests files 2024-02-04 09:56:42 +01:00
grand-parent-gadget-class.h Change license for tests files 2024-02-04 09:56:42 +01:00
interface-from-framework.h Change license for tests files 2024-02-04 09:56:42 +01:00
interface-from-include.h Change license for tests files 2024-02-04 09:56:42 +01:00
macro-on-cmdline.h Change license for tests files 2024-02-04 09:56:42 +01:00
moc_include.h Change license for tests files 2024-02-04 09:56:42 +01:00
namespace.h Change license for tests files 2024-02-04 09:56:42 +01:00
namespace_no_merge.h Change license for tests files 2024-02-04 09:56:42 +01:00
namespaced-base-class.h Change license for tests files 2024-02-04 09:56:42 +01:00
namespaced-flags.h Change license for tests files 2024-02-04 09:56:42 +01:00
no-keywords.h Change license for tests files 2024-02-04 09:56:42 +01:00
non-gadget-parent-class.h Change license for tests files 2024-02-04 09:56:42 +01:00
oldstyle-casts.h Change license for tests files 2024-02-04 09:56:42 +01:00
os9-newlines.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
parse-boost.h Change license for tests files 2024-02-04 09:56:42 +01:00
parse-defines.h Change license for tests files 2024-02-04 09:56:42 +01:00
plugin_metadata.h Change license for tests files 2024-02-04 09:56:42 +01:00
pointery_to_incomplete.h Change license for tests files 2024-02-04 09:56:42 +01:00
pp-dollar-signs.h Change license for tests files 2024-02-04 09:56:42 +01:00
pure-virtual-signals.h Change license for tests files 2024-02-04 09:56:42 +01:00
qinvokable.h Change license for tests files 2024-02-04 09:56:42 +01:00
qmlmacro.h Change license for tests files 2024-02-04 09:56:42 +01:00
qprivateslots.h Change license for tests files 2024-02-04 09:56:42 +01:00
qtbug-35657-gadget.h Change license for tests files 2024-02-04 09:56:42 +01:00
related-metaobjects-in-gadget.h Change license for tests files 2024-02-04 09:56:42 +01:00
related-metaobjects-in-namespaces.h Change license for tests files 2024-02-04 09:56:42 +01:00
related-metaobjects-name-conflict.h Change license for tests files 2024-02-04 09:56:42 +01:00
signal-with-default-arg.h Change license for tests files 2024-02-04 09:56:42 +01:00
single-quote-digit-separator-n3781.h Change license for tests files 2024-02-04 09:56:42 +01:00
single_function_keyword.h Change license for tests files 2024-02-04 09:56:42 +01:00
slots-with-void-template.h Change license for tests files 2024-02-04 09:56:42 +01:00
task87883.h Change license for tests files 2024-02-04 09:56:42 +01:00
task192552.h Change license for tests files 2024-02-04 09:56:42 +01:00
task234909.h Change license for tests files 2024-02-04 09:56:42 +01:00
task240368.h Change license for tests files 2024-02-04 09:56:42 +01:00
tech-preview.h Long live QT_TECH_PREVIEW_API 2024-02-20 05:01:09 +01:00
template-gtgt.h Change license for tests files 2024-02-04 09:56:42 +01:00
trigraphs.h Change license for tests files 2024-02-04 09:56:42 +01:00
tst_moc.cpp moc: Treat number + characters as Identifier, not Number 2024-04-17 04:38:22 +02:00
unterminated-function-macro.h Change license for tests files 2024-02-04 09:56:42 +01:00
using-namespaces.h Change license for tests files 2024-02-04 09:56:42 +01:00
warn-on-multiple-qobject-subclasses.h Change license for tests files 2024-02-04 09:56:42 +01:00
warn-on-property-without-read.h Change license for tests files 2024-02-04 09:56:42 +01:00
win-newlines.h Change license for tests files 2024-02-04 09:56:42 +01:00