diff options
Diffstat (limited to 'clang/lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjCGNU.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjCGNU.cpp b/clang/lib/CodeGen/CGObjCGNU.cpp index eb016597cee..1c1abe90c61 100644 --- a/clang/lib/CodeGen/CGObjCGNU.cpp +++ b/clang/lib/CodeGen/CGObjCGNU.cpp @@ -1054,7 +1054,7 @@ class CGObjCGNUstep2 : public CGObjCGNUstep { StringName = ".objc_str_"; for (int i=0,e=Str.size() ; i<e ; ++i) { char c = Str[i]; - if (isalpha(c) || isnumber(c)) + if (isalnum(c)) StringName += c; else if (c == ' ') StringName += '_'; |