From 48a7afa5a1d60cd415fce313fc39e0aa739c79b3 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Tue, 22 May 2018 10:13:17 +0000 Subject: [objc-gnustep2] Use unsigned char to avoid potential UB in isalnum. Suggested by Gabor Buella. llvm-svn: 332966 --- clang/lib/CodeGen/CGObjCGNU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang') diff --git a/clang/lib/CodeGen/CGObjCGNU.cpp b/clang/lib/CodeGen/CGObjCGNU.cpp index 1c1abe90c61..6a0554b46b1 100644 --- a/clang/lib/CodeGen/CGObjCGNU.cpp +++ b/clang/lib/CodeGen/CGObjCGNU.cpp @@ -1053,7 +1053,7 @@ class CGObjCGNUstep2 : public CGObjCGNUstep { if (isNamed) { StringName = ".objc_str_"; for (int i=0,e=Str.size() ; i