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

Julian Schmidt via All-commits all-commits at lists.llvm.org
Sat Aug 24 04:07:14 PDT 2024


  Branch: refs/heads/users/5chmidti/rm_not_needed_run_overload_in_BoundNodesCallback
  Home:   https://github.com/llvm/llvm-project
  Commit: 8187d06e8a37899663b79c17402c544a48ec4610
      https://github.com/llvm/llvm-project/commit/8187d06e8a37899663b79c17402c544a48ec4610
  Author: Julian Schmidt <git.julian.schmidt at gmail.com>
  Date:   2024-08-24 (Sat, 24 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