================
@@ -125,11 +125,38 @@ void SignedCharMisuseCheck::registerMatchers(MatchFinder
*Finder) {
.bind("arraySubscript");
Finder->addMatcher(STDArraySubscript, this);
+
+ // Catch signed char values passed to a <cctype>/<ctype.h> classification
----------------
cavdarahmet wrote:
Done — shortened to two lines. The `hasArgument()` implementation detail was
moved into `check()`, next to the code it actually explains.
https://github.com/llvm/llvm-project/pull/211403
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits