Update for prototype changes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-11-14 22:09:22 +00:00
parent eaf181550a
commit 944655922e
2 changed files with 4 additions and 4 deletions

View File

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

View File

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