Revert "Implement nullPointerConstant() using a better API."
authorStephen Kelly <steveire@gmail.com>
Sun, 14 Feb 2021 15:16:35 +0000 (15:16 +0000)
committerStephen Kelly <steveire@gmail.com>
Sat, 20 Feb 2021 17:33:07 +0000 (17:33 +0000)
commit6984e0d4398592a20055cb12842fc72462ce01a5
tree99b348e02e8a22157d578f177c03fbad37f342a3
parent3e1317fd323bf92c6adaf67598697049b08bb373
Revert "Implement nullPointerConstant() using a better API."

This reverts commit 9148302a (2019-08-22) which broke the pre-existing
unit test for the matcher.  Also revert commit 518b2266 (Fix the
nullPointerConstant() test to get bots back to green., 2019-08-22) which
incorrectly changed the test to expect the broken behavior.

Differential Revision: https://reviews.llvm.org/D96665
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp