Skip to content
Commit 005daf1b authored by Ariel J. Bernal's avatar Ariel J. Bernal
Browse files

Fix UseNullptr fails to replace explict casts surrounded by another implicit

cast

UseNullptr previously matched the implicit cast to const pointer as well as
the explicit cast within that has an implicit cast to nullptr as a descendant.

-Refactored UseNullptr to avoid special-casing certain kinds of cast sequences
-Added test cases.

llvm-svn: 178907
parent 713eef4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment