[all-commits] [llvm/llvm-project] 207216: [clang][test] remove unused `run` overload in `Bou...

Julian Schmidt via All-commits all-commits at lists.llvm.org
Thu Aug 29 08:14:15 PDT 2024


  Branch: refs/heads/users/5chmidti/rm_not_needed_run_overload_in_BoundNodesCallback
  Home:   https://github.com/llvm/llvm-project
  Commit: 2072160d9b7763c58edd14083a4523fd94e6040f
      https://github.com/llvm/llvm-project/commit/2072160d9b7763c58edd14083a4523fd94e6040f
  Author: Julian Schmidt <git.julian.schmidt at gmail.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
    M clang/unittests/ASTMatchers/ASTMatchersTest.h
    M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp

  Log Message:
  -----------
  [clang][test] remove unused `run` overload in `BoundNodesCallback`

The overload that did not take the additional `ASTContext *` argument is
unnecessary when the context could simply be commented out, as it is
always passed to `run` from `VerifyMatcher::run`.
This patch removes the single-argument overload in favor of having a
single overload.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list