Home | History | Annotate | Download | only in src

Lines Matching defs:path

20 #include <llvm/Support/Path.h>
36 llvm::SmallString<64> path;
37 llvm::sys::path::append(path, openmp_include_dir, "omp.h");
38 llvm::sys::fs::remove(llvm::Twine(path));
44 static std::error_code WriteFile(const char *path, const char *data,
46 std::fstream output(path, std::ios_base::out | std::ios_base::trunc);
60 llvm::SmallString<64> path;
64 llvm::sys::fs::createUniqueDirectory("header-abi-dump-include", path);
69 openmp_include_dir = path.str();
75 llvm::sys::path::append(path, "omp.h");
76 return WriteFile(path.c_str(), OMP_HEADER_DATA, sizeof(OMP_HEADER_DATA) - 1);