summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/HeaderMap.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-21 09:55:08 +0000
committerChris Lattner <sabre@nondot.org>2010-11-21 09:55:08 +0000
commit8afa6deb1d1e5a690f7746bfe686f48d20335f97 (patch)
tree98149801092b901695783c56f379650efc7766d2 /clang/lib/Lex/HeaderMap.cpp
parent0c0e80408a38a0897d5a6ab04b18ac3220b74112 (diff)
downloadbcm5719-llvm-8afa6deb1d1e5a690f7746bfe686f48d20335f97.tar.gz
bcm5719-llvm-8afa6deb1d1e5a690f7746bfe686f48d20335f97.zip
remove old compatibility APIs, use StringRef versions instead.
llvm-svn: 119935
Diffstat (limited to 'clang/lib/Lex/HeaderMap.cpp')
-rw-r--r--clang/lib/Lex/HeaderMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/HeaderMap.cpp b/clang/lib/Lex/HeaderMap.cpp
index 5d9b218a7d8..d5d7e4b9bb2 100644
--- a/clang/lib/Lex/HeaderMap.cpp
+++ b/clang/lib/Lex/HeaderMap.cpp
@@ -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);
}
}
OpenPOWER on IntegriCloud