Deprecate the hasDefaultArgument matcher
authorStephen Kelly <steveire@gmail.com>
Sat, 7 Dec 2019 18:23:15 +0000 (18:23 +0000)
committerStephen Kelly <steveire@gmail.com>
Tue, 10 Dec 2019 20:48:45 +0000 (20:48 +0000)
commit3e315ba2547cbbfd6055e38bbca03f4d11bacbea
treebd05778703b619996bb2473f90555b4db98dabcd
parent7ec933e50162e2ddc6204f0f1708b75309a9555a
Deprecate the hasDefaultArgument matcher

Summary:
It doesn't provide a way to match on the contents of the default
argumment.  Rather than give it that capability, make it deprecated and
recomment the use of hasInitializer instead.

Reviewers: aaron.ballman

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D71166
clang/include/clang/ASTMatchers/ASTMatchers.h