llvm-project/clang-tools-extra/cpp11-migrate/UseNullptr
Edwin Vane 10414112d1 Added comprehensive macro arg usage logic to Use-Nullptr Transform
If a NullTo(Member)Pointer cast results from a macro arg expansion, all uses of
the arg must result in such casts or else the macro arg cannot be replaced with
'nullptr' safely. This revision adds logic and tests to ensure the safety of
replacing macro args in the Use-Nullptr Transform.

Fixes: PR15816
llvm-svn: 181221
2013-05-06 17:27:02 +00:00
..
NullptrActions.cpp Added comprehensive macro arg usage logic to Use-Nullptr Transform 2013-05-06 17:27:02 +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