[LLVMdev] [API CHANGE (on trunk)] raw_fd_ostream defaults to overwrite
Dan Gohman
gohman at apple.com
Tue Aug 25 10:20:16 PDT 2009
Hello,
The following describes an API change on trunk. The change is not in
the 2.6 branch.
The raw_fd_ostream class now defaults to overwriting its output file,
and the
F_Force flag which was introduced only recently is gone. There's a
new F_Excl flag to
support users wanting the behavior of returning an error if the file
exists, though no one
actually appears to want this.
Accompanying this is a change to the command-line tools. The tools
will now overwrite
their output files unconditionally, without needing the -f option.
Dan
More information about the llvm-dev
mailing list