qt6-bb10/src/tools/moc
Axel Rasmussen 0b54de41bc moc: use Q_NULLPTR instead of 0 in generated code.
This commit changes several instances where moc was generating code that
used 0 as a null pointer constant. The Q_NULLPTR define is the more
idiomatic way to do this, and additionally this silences warnings
generated by e.g. GCC's -Wzero-as-null-pointer-constant.

[ChangeLog][Tools][moc] Fixed "zero as null pointer constant" warnings
in moc's generated code.

Change-Id: Ibe382b7bdbdddaf20cb4bdfd075fcdd1f363f9d3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2014-11-06 02:58:56 +01:00
..
util Update license headers and add new license files 2014-09-24 12:26:19 +02:00
generator.cpp moc: use Q_NULLPTR instead of 0 in generated code. 2014-11-06 02:58:56 +01:00
generator.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
keywords.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
main.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
moc.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
moc.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
moc.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
moc.pro don't include qconfig.cpp into moc and uic 2013-08-15 18:02:42 +02:00
mwerks_mac.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
mwerks_mac.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
outputrevision.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
parser.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
parser.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
ppkeywords.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
preprocessor.cpp moc: do not error if the last token of a define is # 2014-10-28 19:37:10 +01:00
preprocessor.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
symbols.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
token.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
token.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
utils.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00