[all-commits] [llvm/llvm-project] 54a679: [clang-tidy] Simplify RenamerClangTidyCheck API (#...

Edwin Vane via All-commits all-commits at lists.llvm.org
Fri Apr 12 11:05:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54a6798e0a3630e705ed32dbbd63414a16331085
      https://github.com/llvm/llvm-project/commit/54a6798e0a3630e705ed32dbbd63414a16331085
  Author: Edwin Vane <revane at google.com>
  Date:   2024-04-12 (Fri, 12 Apr 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
    M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.h

  Log Message:
  -----------
  [clang-tidy] Simplify RenamerClangTidyCheck API (#88268)

Some functions allow a null SourceManager, no SourceManager, or a
SourceManager in an inconsistent argument position. Since SourceManager
is generally not null and it doesn't make sense to apply renaming
without one, these inconsistencies are now gone.



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