clang-modernize -use-nullptr

and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
This commit is contained in:
Tillmann Karras
2014-03-09 21:14:26 +01:00
parent f28116b7da
commit d802d39281
292 changed files with 1526 additions and 1526 deletions

View File

@ -43,7 +43,7 @@ static std::mutex tsWriteLock;
Common::FifoQueue<BaseEvent, false> tsQueue;
// event pools
Event *eventPool = 0;
Event *eventPool = nullptr;
int downcount, slicelength;
int maxSliceLength = MAX_SLICE_LENGTH;
@ -59,7 +59,7 @@ u64 fakeTBStartTicks;
int ev_lost;
void (*advanceCallback)(int cyclesExecuted) = NULL;
void (*advanceCallback)(int cyclesExecuted) = nullptr;
Event* GetNewEvent()
{
@ -236,7 +236,7 @@ void ClearPendingEvents()
void AddEventToQueue(Event* ne)
{
Event* prev = NULL;
Event* prev = nullptr;
Event** pNext = &first;
for(;;)
{