git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23721 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-10-14 01:28:34 +00:00
parent 5054f16212
commit b4871ad694

View File

@ -44,7 +44,7 @@ std::string Mangler::makeNameProper(const std::string &X, const char *Prefix) {
for (std::string::const_iterator E = X.end(); I != E; ++I)
if ((*I < 'a' || *I > 'z') && (*I < 'A' || *I > 'Z') &&
(*I < '0' || *I > '9') && *I != '_')
(*I < '0' || *I > '9') && *I != '_' && *I != '$')
Result += MangleLetter(*I);
else
Result += *I;