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
Buffer.append(CStr.first);
StringRef Val = Options.get(Buffer, "");
if (!Val.empty())
- HNOption.CString[CStr.first] = Val.str();
+ HNOption.CString[CStr.second] = Val.str();
}
Buffer = {Section, "PrimitiveType."};
<clang-tidy/checks/misc/unused-using-decls>` check.
Global options of the same name should be used instead.
+- Fixed reading `HungarianNotation.CString.*` options in
+ :doc:`readability-identifier-naming
+ <clang-tidy/checks/readability/identifier-naming>` check.
+
Removed checks
^^^^^^^^^^^^^^