diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-25 19:00:49 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-25 19:00:49 +0000 |
commit | 28ce23a550d386b32aa60abbbf308d164992eb1e (patch) | |
tree | 71def43722031851dab4a34970e2dec324ecf606 /lib/Frontend/CompilerInvocation.cpp | |
parent | 1a747829093ce59455685cdbe0aeff8d7b129d40 (diff) | |
download | clang-28ce23a550d386b32aa60abbbf308d164992eb1e.tar.gz |
I am about to change llvm::MemoryBuffer::getFile take take a Twine. Change
clang first so that the build still works.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index 3274d31467..2f6407109d 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/lib/Frontend/CompilerInvocation.cpp @@ -1780,7 +1780,7 @@ std::string CompilerInvocation::getModuleHash() const { llvm::sys::path::append(systemVersionFile, "Library"); llvm::sys::path::append(systemVersionFile, "CoreServices"); llvm::sys::path::append(systemVersionFile, "SystemVersion.plist"); - if (!llvm::MemoryBuffer::getFile(systemVersionFile, buffer)) { + if (!llvm::MemoryBuffer::getFile(systemVersionFile.c_str(), buffer)) { code = hash_combine(code, buffer.get()->getBuffer()); struct stat statBuf; |