mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-11 15:26:07 +00:00
Update for prototype changes
llvm-svn: 17781
This commit is contained in:
parent
b73d75e4ff
commit
3dfb002523
@ -134,11 +134,11 @@ void RegisterHandler(int Signal) {
|
||||
namespace llvm {
|
||||
|
||||
// RemoveFileOnSignal - The public API
|
||||
void sys::RemoveFileOnSignal(const std::string &Filename) {
|
||||
void sys::RemoveFileOnSignal(const sys::Path &Filename) {
|
||||
if (FilesToRemove == 0)
|
||||
FilesToRemove = new std::vector<std::string>;
|
||||
|
||||
FilesToRemove->push_back(Filename);
|
||||
FilesToRemove->push_back(Filename.get());
|
||||
|
||||
std::for_each(IntSigs, IntSigsEnd, RegisterHandler);
|
||||
std::for_each(KillSigs, KillSigsEnd, RegisterHandler);
|
||||
|
Loading…
x
Reference in New Issue
Block a user