llvm-project/clang-tools-extra/cpp11-migrate
Tareq A. Siraj c2aa348dd0 Allow users to specify NULL like macros to be replaced
-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
2013-03-28 16:06:59 +00:00
..
LoopConvert Test commit: Remove whitespace. 2013-03-28 15:48:49 +00:00
UseAuto cpp11-migrate segfaults transforming map<string,int>::iterator 2013-03-27 18:49:31 +00:00
UseNullptr Allow users to specify NULL like macros to be replaced 2013-03-28 16:06:59 +00:00
CMakeLists.txt Adding clang-headers as dependency of cpp11-migrate 2013-03-25 15:19:43 +00:00
Cpp11Migrate.cpp Fixing Doxygen warnings in cpp11-migrate 2013-03-08 19:12:12 +00:00
Makefile Introducing Use-Auto transform for cpp11-migrate 2013-02-28 16:29:24 +00:00
Transform.cpp Propagate changes through no-op transforms 2013-02-15 19:38:28 +00:00
Transform.h Added summary option to cpp11-migrate tool 2013-03-05 00:12:33 +00:00
Transforms.cpp Introducing Use-Auto transform for cpp11-migrate 2013-02-28 16:29:24 +00:00
Transforms.h Allow users to specify NULL like macros to be replaced 2013-03-28 16:06:59 +00:00