aboutsummaryrefslogtreecommitdiff
path: root/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
commit6538227d51df249b07c8ab80ae376f5c1d14403c (patch)
treebc53dcbfd7d7a7622637c81b0c9eb3715c894a57 /lib/Lex/HeaderMap.cpp
parentf69a1f319bd3c846c4a9ab84ea615e4e37dfd359 (diff)
remove old compatibility APIs, use StringRef versions instead.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119935 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/HeaderMap.cpp')
-rw-r--r--lib/Lex/HeaderMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/HeaderMap.cpp b/lib/Lex/HeaderMap.cpp
index 5d9b218a7d..d5d7e4b9bb 100644
--- a/lib/Lex/HeaderMap.cpp
+++ b/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);
}
}