[all-commits] [llvm/llvm-project] 988c3f: [clang-tidy] Fix RenamerClangTidyChecks suggesting...

kepler-5 via All-commits all-commits at lists.llvm.org
Mon Jan 10 10:35:22 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 988c3f5f96925e3bcd757043314e345b8f65589f
      https://github.com/llvm/llvm-project/commit/988c3f5f96925e3bcd757043314e345b8f65589f
  Author: Logan Smith <logan.r.smith0 at gmail.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-reserved-identifier.cpp

  Log Message:
  -----------
  [clang-tidy] Fix RenamerClangTidyChecks suggesting invalid macro identifiers

This behavior was fixed for regular identifiers in
9f3edc323a88c1a179a0a5a9dc9a87a2964c0d48, but the same fix was not applied to
macro fixits. This addresses https://github.com/llvm/llvm-project/issues/52895.

Differential Revision: https://reviews.llvm.org/D116824




More information about the All-commits mailing list