From da4cb0cf401bb546574a7db46e50cda8b9d9c048 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 20 Jun 2013 15:12:38 +0000 Subject: [PATCH] Use the new name of getUniqueID. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184432 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/ASTUnit.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Frontend/ASTUnit.cpp b/lib/Frontend/ASTUnit.cpp index 6874986cbb..48cac1357c 100644 --- a/lib/Frontend/ASTUnit.cpp +++ b/lib/Frontend/ASTUnit.cpp @@ -1277,7 +1277,7 @@ ASTUnit::ComputePreamble(CompilerInvocation &Invocation, llvm::MemoryBuffer *Buffer = 0; std::string MainFilePath(FrontendOpts.Inputs[0].getFile()); uint64_t MainFileID; - if (!llvm::sys::fs::GetUniqueID(MainFilePath, MainFileID)) { + if (!llvm::sys::fs::getUniqueID(MainFilePath, MainFileID)) { // Check whether there is a file-file remapping of the main file for (PreprocessorOptions::remapped_file_iterator M = PreprocessorOpts.remapped_file_begin(), @@ -1286,7 +1286,7 @@ ASTUnit::ComputePreamble(CompilerInvocation &Invocation, ++M) { std::string MPath(M->first); uint64_t MID; - if (!llvm::sys::fs::GetUniqueID(MPath, MID)) { + if (!llvm::sys::fs::getUniqueID(MPath, MID)) { if (MainFileID == MID) { // We found a remapping. Try to load the resulting, remapped source. if (CreatedBuffer) { @@ -1312,7 +1312,7 @@ ASTUnit::ComputePreamble(CompilerInvocation &Invocation, ++M) { std::string MPath(M->first); uint64_t MID; - if (!llvm::sys::fs::GetUniqueID(MPath, MID)) { + if (!llvm::sys::fs::getUniqueID(MPath, MID)) { if (MainFileID == MID) { // We found a remapping. if (CreatedBuffer) { @@ -2484,10 +2484,10 @@ void ASTUnit::CodeComplete(StringRef File, unsigned Line, unsigned Column, std::string CompleteFilePath(File); uint64_t CompleteFileID; - if (!llvm::sys::fs::GetUniqueID(CompleteFilePath, CompleteFileID)) { + if (!llvm::sys::fs::getUniqueID(CompleteFilePath, CompleteFileID)) { std::string MainPath(OriginalSourceFile); uint64_t MainID; - if (!llvm::sys::fs::GetUniqueID(MainPath, MainID)) { + if (!llvm::sys::fs::getUniqueID(MainPath, MainID)) { if (CompleteFileID == MainID && Line > 1) OverrideMainBuffer = getMainBufferWithPrecompiledPreamble(*CCInvocation, false, -- 2.40.0