Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[MSG] NULL -> nullptr substitution
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Wed, 8 Jun 2016 21:20:59 +0000 (23:20 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Thu, 9 Jun 2016 07:39:07 +0000 (09:39 +0200)
commit2d876f901f44194d3e67936fd054b192a6b7f097
treeec496bc4553f7c75540f19a4bebbc376b8c507e6
parent7595678501d8cee18b1b6f1e203c5a2a47ba4e51
[MSG] NULL -> nullptr substitution

I used the following command: (the '**' means recursion in ZSH)
sed -i -e 's/\([^_]\s*\)NULL/\1nullptr/g' src/**/*.cpp

We check for the underscore to avoid replacing MPI_*_NULL
src/msg/instr_msg_task.cpp
src/msg/msg_actions.cpp
src/msg/msg_environment.cpp
src/msg/msg_global.cpp
src/msg/msg_gos.cpp
src/msg/msg_host.cpp
src/msg/msg_io.cpp
src/msg/msg_mailbox.cpp
src/msg/msg_process.cpp
src/msg/msg_task.cpp
src/msg/msg_vm.cpp