remove old compatibility APIs, use StringRef versions instead.

llvm-svn: 119935
This commit is contained in:
Chris Lattner
2010-11-21 09:55:08 +00:00
parent 0c0e80408a
commit 8afa6deb1d
5 changed files with 11 additions and 29 deletions

View File

@@ -225,6 +225,6 @@ const FileEntry *HeaderMap::LookupFile(llvm::StringRef Filename,
llvm::SmallString<1024> DestPath;
DestPath += getString(B.Prefix);
DestPath += getString(B.Suffix);
return FM.getFile(DestPath.begin(), DestPath.end(), FileSystemOpts);
return FM.getFile(DestPath.str(), FileSystemOpts);
}
}