CppTools: Consistently use nullptr

Fixed by clang-tidy modernize-use-nullptr.

Change-Id: I951627ba3543faa357f67ee76527518290efe3f1
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Tobias Hunger
2018-05-07 17:36:22 +02:00
parent fb71cac07b
commit b554c761fb
12 changed files with 15 additions and 15 deletions

View File

@@ -68,7 +68,7 @@ const CPlusPlus::Macro CPPTOOLS_EXPORT *findCanonicalMacro(const QTextCursor &cu
enum class CacheUsage { ReadWrite, ReadOnly };
QString CPPTOOLS_EXPORT correspondingHeaderOrSource(const QString &fileName, bool *wasHeader = 0,
QString CPPTOOLS_EXPORT correspondingHeaderOrSource(const QString &fileName, bool *wasHeader = nullptr,
CacheUsage cacheUsage = CacheUsage::ReadWrite);
void CPPTOOLS_EXPORT switchHeaderSource();