[all-commits] [llvm/llvm-project] 87447b: [clang-tidy] Fix readability-identifer-naming Hung...

Alexis Murzeau via All-commits all-commits at lists.llvm.org
Thu Feb 23 23:15:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87447bedac341f023569f1b444f9b3b62bba5aa6
      https://github.com/llvm/llvm-project/commit/87447bedac341f023569f1b444f9b3b62bba5aa6
  Author: Alexis Murzeau <amubtdx at gmail.com>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [clang-tidy] Fix readability-identifer-naming Hungarian CString options

When reading readability-identifier-naming.HungarianNotation.CString
options, correctly use the type string stored in CStr.second instead of
the option name (CStr.first) as the HNOption.CString map key.

This will make CString options really working and properly parsed by the
checker.

Reviewed By: carlosgalvezp

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




More information about the All-commits mailing list