llvm-project/llvm/include
Rafael Espindola 5c20ac0134 Simplify remove, create_directory and create_directories.
Before this patch they would take an boolean argument to say if the path
already existed. This was redundant with the returned error_code which is able
to represent that. This allowed for callers to incorrectly check only the
existed flag instead of first checking the error code.

Instead, pass in a boolean flag to say if the previous (non-)existence should be
an error or not.

Callers of the of the old simple versions are not affected. They still ignore
the previous (non-)existence as they did before.

llvm-svn: 201979
2014-02-23 13:56:14 +00:00
..
llvm Simplify remove, create_directory and create_directories. 2014-02-23 13:56:14 +00:00
llvm-c LTO API: add lto_module_create_from_memory_with_path. 2014-02-10 23:26:14 +00:00