1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-svn: 23721
This commit is contained in:
Chris Lattner 2005-10-14 01:28:34 +00:00
parent c206a2a32a
commit 99b65b821a

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;