Add OpenFlags to the create(Unique|Temporary)File interfaces.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 27 Nov 2017 23:44:11 +0000 (23:44 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 27 Nov 2017 23:44:11 +0000 (23:44 +0000)
commitd19c2e812640df745d857e7347e617f1fb18057f
tree85b0dca00a108f622b1dd1cfaac28f354047d7a4
parentf9b08a382cc1e0669805991849ad69efbd4703e8
Add OpenFlags to the create(Unique|Temporary)File interfaces.

This will allow a future F_Delete flag to be specified when we want
the file to be automatically deleted on close.

llvm-svn: 319117
llvm/include/llvm/Support/FileSystem.h
llvm/lib/Support/Path.cpp