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

Julian Schmidt via All-commits all-commits at lists.llvm.org
Fri Jul 12 15:00:52 PDT 2024


  Branch: refs/heads/users/5chmidti/rm_not_needed_run_overload_in_BoundNodesCallback
  Home:   https://github.com/llvm/llvm-project
  Commit: 51de6278688635cdcd5a8dd73a2ef0ede2a31b37
      https://github.com/llvm/llvm-project/commit/51de6278688635cdcd5a8dd73a2ef0ede2a31b37
  Author: Julian Schmidt <git.julian.schmidt at gmail.com>
  Date:   2024-07-12 (Fri, 12 Jul 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