[all-commits] [llvm/llvm-project] 3e315b: Deprecate the hasDefaultArgument matcher

Stephen Kelly via All-commits all-commits at lists.llvm.org
Tue Dec 10 12:48:56 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e315ba2547cbbfd6055e38bbca03f4d11bacbea
      https://github.com/llvm/llvm-project/commit/3e315ba2547cbbfd6055e38bbca03f4d11bacbea
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M clang/include/clang/ASTMatchers/ASTMatchers.h

  Log Message:
  -----------
  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




More information about the All-commits mailing list