reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Support/FileSystem.h
  412 std::error_code rename(const Twine &from, const Twine &to);

References

lib/Support/FileUtilities.cpp
  322           sys::fs::rename(/*from=*/GeneratedUniqPath.c_str(),
lib/Support/Path.cpp
 1181   std::error_code RenameEC = fs::rename(TmpName, Name);
tools/clang/lib/Frontend/CompilerInstance.cpp
  651                 llvm::sys::fs::rename(OF.TempFilename, NewOutFile)) {
tools/clang/lib/Rewrite/Rewriter.cpp
  442     if (std::error_code ec = llvm::sys::fs::rename(TempFilename, Filename)) {
tools/lld/COFF/Driver.cpp
  796     handleError(errorCodeToError(sys::fs::rename(tmpName, path)));
tools/lldb/source/Target/ModuleCache.cpp
  200       llvm::sys::fs::rename(tmp_file_path, module_file_path.GetPath());
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  248   if (auto EC = sys::fs::rename(TmpPath, Path)) {
unittests/Support/ReplaceFileTest.cpp
   93     EXPECT_TRUE(!fs::rename(SourceFileName, TargetFileName));
  109   EXPECT_TRUE(!fs::rename(TargetFileName, SourceFileName));
  155     ASSERT_NO_ERROR(fs::rename(SourceFileName, TargetFileName));