Revert "r372201: [Support] Replace function with function_ref in writeFileAtomically...
authorIlya Biryukov <ibiryukov@google.com>
Wed, 18 Sep 2019 08:47:09 +0000 (08:47 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Wed, 18 Sep 2019 08:47:09 +0000 (08:47 +0000)
commit377aaa2ede8ce0bc73a85fb2f3b29cd07d79535c
tree7b81e016ff4f4fd355ba1afb9348e3afe7c3ba33
parentedd5dfcd890dad921bb0c0edb1551597bd6124d7
Revert "r372201: [Support] Replace function with function_ref in writeFileAtomically. NFC"

function_ref causes calls to the function to be ambiguous, breaking
compilation.

Reverting for now.

llvm-svn: 372202
llvm/include/llvm/Support/FileUtilities.h
llvm/lib/Support/FileUtilities.cpp