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

Julian Schmidt via All-commits all-commits at lists.llvm.org
Fri Sep 27 04:24:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5dc5085a1ac55100b4628e61d12ef01aa0db539
      https://github.com/llvm/llvm-project/commit/d5dc5085a1ac55100b4628e61d12ef01aa0db539
  Author: Julian Schmidt <git.julian.schmidt at gmail.com>
  Date:   2024-09-27 (Fri, 27 Sep 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` (#105935)

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