diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 22:45:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 22:45:33 +0000 |
commit | d57a7ef9252964bc6c8471451d7bd395b0520cb8 (patch) | |
tree | 4667ff61ed62b6a6082f04fc549f82326e7c2b7c /lib/Frontend/CacheTokens.cpp | |
parent | 8bde505fad92a44a853f5697a4fd8d2b52f20119 (diff) |
API changes to match llvm ToT.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79868 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CacheTokens.cpp')
-rw-r--r-- | lib/Frontend/CacheTokens.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Frontend/CacheTokens.cpp b/lib/Frontend/CacheTokens.cpp index 1852e7d54c..7365882eb8 100644 --- a/lib/Frontend/CacheTokens.cpp +++ b/lib/Frontend/CacheTokens.cpp @@ -543,10 +543,10 @@ void clang::CacheTokens(Preprocessor &PP, llvm::raw_fd_ostream* OS) { if (!MainFilePath.isAbsolute()) { llvm::sys::Path P = llvm::sys::Path::GetCurrentDirectory(); - P.appendComponent(MainFilePath.toString()); - MainFileName = P.toString(); + P.appendComponent(MainFilePath.str()); + MainFileName = P.str(); } else { - MainFileName = MainFilePath.toString(); + MainFileName = MainFilePath.str(); } // Create the PTHWriter. |