mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[NFC] Use std::free instead of ::free
Since we include <cstdlib> instead of <stdlib.h>, it makes sense to use std::free.
This commit is contained in:
parent
d607929186
commit
93b238862a
@ -31,6 +31,6 @@ std::string llvm::demangle(const std::string &MangledName) {
|
||||
return MangledName;
|
||||
|
||||
std::string Ret = Demangled;
|
||||
free(Demangled);
|
||||
std::free(Demangled);
|
||||
return Ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user