[PATCH] D144431: [clang-tidy] Fix readability-identifer-naming Hungarian CString options
Alexis Murzeau via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 21 10:46:03 PST 2023
amurzeau updated this revision to Diff 499235.
amurzeau edited the summary of this revision.
amurzeau added a comment.
Remove test changes, I will make a different patch for that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144431/new/
https://reviews.llvm.org/D144431
Files:
clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
Index: clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
===================================================================
--- clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
+++ clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
@@ -472,7 +472,7 @@
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."};
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144431.499235.patch
Type: text/x-patch
Size: 552 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230221/9e3d30cb/attachment.bin>
More information about the cfe-commits
mailing list