llvm-project/clang-tools-extra/cpp11-migrate/UseNullptr
Ariel J. Bernal 464957e2d6 Fix UseNullptr fails to replace c-style explicit cast in a return statement
This happens whenever there is a c-style explicit cast to nullptr not
surrounded by parentheses following a return statement.

- Added a white space before nullptr if the character before is alphanumeric
  when replacing the null pointer expression.
- Simplified visitor
- Addes tests

llvm-svn: 179103
2013-04-09 16:54:56 +00:00
..
NullptrActions.cpp Fix UseNullptr fails to replace c-style explicit cast in a return statement 2013-04-09 16:54:56 +00:00
NullptrActions.h lib-ified core cpp11-migrate functionality to support unit tests 2013-04-04 20:19:58 +00:00
NullptrMatchers.cpp Fix UseNullptr fails to replace explict casts surrounded by another implicit 2013-04-05 20:32:36 +00:00
NullptrMatchers.h Refactor Usenullptr matcher to avoid duplication 2013-04-01 20:09:29 +00:00
UseNullptr.cpp Refactor Usenullptr matcher to avoid duplication 2013-04-01 20:09:29 +00:00
UseNullptr.h lib-ified core cpp11-migrate functionality to support unit tests 2013-04-04 20:19:58 +00:00