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

Declarations

include/llvm/Support/FileSystem.h
  883 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix,

References

lib/LTO/LTOCodeGenerator.cpp
  265       sys::fs::createTemporaryFile("lto-llvm", Extension, FD, Filename);
lib/Support/GraphWriter.cpp
   82   std::error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename);
lib/Support/Path.cpp
  821   auto EC = createTemporaryFile(Prefix, Suffix, FD, ResultPath);
lib/Support/Signals.cpp
  145   sys::fs::createTemporaryFile("symbolizer-input", "", InputFD, InputFile);
tools/bugpoint/Miscompilation.cpp
  949   std::error_code EC = sys::fs::createTemporaryFile("bugpoint.test", "bc",
  967   EC = sys::fs::createTemporaryFile("bugpoint.safe", "bc", SafeModuleFD,
 1041   std::error_code EC = sys::fs::createTemporaryFile("bugpoint.test", "bc",
 1057   EC = sys::fs::createTemporaryFile("bugpoint.safe", "bc", SafeModuleFD,
tools/clang/lib/ARCMigrate/FileRemapper.cpp
  145       if (fs::createTemporaryFile(path::filename(origFE->getName()),
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 2216   if (fs::createTemporaryFile(path::filename(FE->getName()),
tools/clang/lib/AST/InheritViz.cpp
  141   if (std::error_code EC = llvm::sys::fs::createTemporaryFile(
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  552   auto EC = llvm::sys::fs::createTemporaryFile(Prefix, Suffix, FD, File);
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp
   88     llvm::sys::fs::createTemporaryFile(llvm::sys::path::filename(Filename),
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
   50         llvm::sys::fs::createTemporaryFile("f_ast", "ast", ASTFD, ASTFileName));
   55     ASSERT_FALSE(llvm::sys::fs::createTemporaryFile("index", "txt", IndexFD,
   66     ASSERT_FALSE(llvm::sys::fs::createTemporaryFile("input", "cpp", SourceFD,
  158   ASSERT_FALSE(llvm::sys::fs::createTemporaryFile("index", "txt", IndexFD,
  183   ASSERT_FALSE(llvm::sys::fs::createTemporaryFile("index", "txt", IndexFD,
tools/clang/unittests/Frontend/ASTUnitTest.cpp
   35     EXPECT_FALSE(llvm::sys::fs::createTemporaryFile("ast-unit", "cpp", FD,
   83       llvm::sys::fs::createTemporaryFile("ast-unit", "ast", FD, ASTFileName));
tools/clang/unittests/Frontend/CompilerInstanceTest.cpp
   26   ASSERT_FALSE(sys::fs::createTemporaryFile("vfs", "yaml", FD, FileName));
tools/clang/unittests/Frontend/FrontendActionTest.cpp
  264       llvm::sys::fs::createTemporaryFile("test.h", "pch", PCHFD, PCHFilename));
tools/clang/unittests/Tooling/RefactoringTest.cpp
  604     std::error_code EC = llvm::sys::fs::createTemporaryFile(Name, "", FD, Path);
tools/clang/unittests/Tooling/RewriterTestContext.h
   69     std::error_code EC = llvm::sys::fs::createTemporaryFile(Name, "", FD, Path);
tools/gold/gold-plugin.cpp
  795         sys::fs::createTemporaryFile("lto-llvm", "o", FD, NewFilename);
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
  912       llvm::sys::fs::createTemporaryFile("lldb", "expr", temp_fd, result_path);
tools/lldb/unittests/Host/FileTest.cpp
   25   llvm::sys::fs::createTemporaryFile(llvm::Twine(Info->test_case_name()) + "-" +
   42   llvm::sys::fs::createTemporaryFile(llvm::Twine(Info->test_case_name()) + "-" +
tools/lldb/unittests/TestingSupport/TestUtilities.cpp
   34   if (std::error_code EC = llvm::sys::fs::createTemporaryFile(
tools/llvm-cov/CodeCoverage.cpp
  449       sys::fs::createTemporaryFile("demangle-in", "list", InputFD, InputPath);
  466   EC = sys::fs::createTemporaryFile("demangle-out", "list", OutputFD,
tools/llvm-exegesis/lib/BenchmarkRunner.cpp
  163           sys::fs::createTemporaryFile("snippet", "o", ResultFD, ResultPath)))
tools/llvm-reduce/deltas/Delta.cpp
   28       sys::fs::createTemporaryFile("llvm-reduce", "ll", FD, CurrentFilepath);
unittests/Support/CommandLineTest.cpp
  758       llvm::sys::fs::createTemporaryFile("resp-", ".txt", FileDescriptor, TempPath);
 1106         sys::fs::createTemporaryFile("unittest-redirect", "", NewFD,
unittests/Support/MemoryBufferTest.cpp
  100   ASSERT_EQ(sys::fs::createTemporaryFile("MemoryBufferTest_getOpenFile", "temp",
  133   sys::fs::createTemporaryFile("MemoryBufferTest_NullTerminator4K", "temp",
  229   sys::fs::createTemporaryFile("prefix", "temp", TestFD, TestPath);
  279   sys::fs::createTemporaryFile("MemoryBufferTest_Slice", "temp", FD, TestPath);
  326   sys::fs::createTemporaryFile("MemoryBufferTest_WritableSlice", "temp", FD,
  359   sys::fs::createTemporaryFile("MemoryBufferTest_WriteThrough", "temp", FD,
unittests/Support/Path.cpp
  458       fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath));
  470       fs::createTemporaryFile("prefix", "temp", FileDescriptor2, TempPath2));
  615       fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath));
  623   ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD2, TempPath2));
 1062   ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD, TempPath));
 1074   ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD, TempPath));
 1090       fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath));
 1260       fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath));
 1603   ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD, TempPath));
 1665   ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD, TempPath));
unittests/Support/SpecialCaseListTest.cpp
   37     sys::fs::createTemporaryFile("SpecialCaseListTest", "temp", FD, Path);
unittests/Support/raw_pwrite_stream_test.cpp
   64     ASSERT_NO_ERROR(sys::fs::createTemporaryFile("foo", "bar", FD, Path));