forked from OSchip/llvm-project
c2aa348dd0
-use-nullptr only replaced macro named NULL and ignored any user defined macros that behaved like NULL. This patch introduces -user-null-macros command line option to let users specify their custom NULL like macros. - Added a -user-null-macros command line option that takes a comma-separated list of user-defined macros to be replaced when using the -use-nullptr transform. - Added documentation. - Updated testcase to reflect current behavior. - Whitespace fixes. Reviewers: revane, klimek, gribozavr llvm-svn: 178243 |
||
---|---|---|
.. | ||
LoopConvert | ||
UseAuto | ||
UseNullptr | ||
CMakeLists.txt | ||
Cpp11Migrate.cpp | ||
Makefile | ||
Transform.cpp | ||
Transform.h | ||
Transforms.cpp | ||
Transforms.h |