1
0
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:
Louis Dionne 2020-07-20 16:15:49 -04:00
parent d607929186
commit 93b238862a

View File

@ -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;
}