mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 07:31:39 +00:00
Allow $
llvm-svn: 23721
This commit is contained in:
parent
c206a2a32a
commit
99b65b821a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user