[clang-tidy] readability-identifier-naming.HungarianNotation: rename CharPrinter...
authorAlexis Murzeau <amubtdx@gmail.com>
Sun, 26 Feb 2023 08:05:54 +0000 (08:05 +0000)
committerCarlos Galvez <carlosgalvezp@gmail.com>
Sun, 26 Feb 2023 08:22:56 +0000 (08:22 +0000)
commit00a71cb47c36984dcd9f51492e1e831aec0e0460
tree6e0a747505c05466326f04f4960426ef0893796d
parent86bd9c984154d625392bfab05541bbe9ee18b6ab
[clang-tidy] readability-identifier-naming.HungarianNotation: rename CharPrinter to CharPointer

The CharPrinter is a typo and should have been named CharPointer as it
configures the hungarian notation prefix for char pointers (char*).

As all configuration options within
readability-identifier-naming.HungarianNotation.CString.* were not read
at all in the previous clang-tidy version (fixed in D144431), this option
rename won't break existing users.

A note in release notes is added to let users know these options were
renamed.

Reviewed By: carlosgalvezp

Differential Revision: https://reviews.llvm.org/D144790
clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming/hungarian-notation2/.clang-tidy