commit | 8afa6deb1d1e5a690f7746bfe686f48d20335f97 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Nov 21 09:55:08 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Nov 21 09:55:08 2010 +0000 |
tree | 98149801092b901695783c56f379650efc7766d2 | |
parent | 0c0e80408a38a0897d5a6ab04b18ac3220b74112 [diff] [blame] |
remove old compatibility APIs, use StringRef versions instead. llvm-svn: 119935
diff --git a/clang/lib/Lex/HeaderMap.cpp b/clang/lib/Lex/HeaderMap.cpp index 5d9b218..d5d7e4b 100644 --- a/clang/lib/Lex/HeaderMap.cpp +++ b/clang/lib/Lex/HeaderMap.cpp
@@ -225,6 +225,6 @@ 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); } }