[libclc] r367800 - Rename F_{None, Text, Append} to OF_{None, Text, Append}. NFC
Jan Vesely via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 5 10:24:52 PDT 2019
I've reverted this change.
It breaks libclc build using older LLVM version (which is still supported)
and it was committed without review on phabricator or libclc mailing list.
Please don't do that.
Jan
On Mon, Aug 5, 2019 at 1:43 AM Fangrui Song via cfe-commits <
cfe-commits at lists.llvm.org> wrote:
> Author: maskray
> Date: Sun Aug 4 22:43:48 2019
> New Revision: 367800
>
> URL: http://llvm.org/viewvc/llvm-project?rev=367800&view=rev
> Log:
> Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC
>
> F_{None,Text,Append} are kept for compatibility since r334221.
>
> Modified:
> libclc/trunk/utils/prepare-builtins.cpp
>
> Modified: libclc/trunk/utils/prepare-builtins.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/libclc/trunk/utils/prepare-builtins.cpp?rev=367800&r1=367799&r2=367800&view=diff
>
> ==============================================================================
> --- libclc/trunk/utils/prepare-builtins.cpp (original)
> +++ libclc/trunk/utils/prepare-builtins.cpp Sun Aug 4 22:43:48 2019
> @@ -95,10 +95,10 @@ int main(int argc, char **argv) {
> std::error_code EC;
> #if HAVE_LLVM >= 0x0600
> std::unique_ptr<ToolOutputFile> Out(
> - new ToolOutputFile(OutputFilename, EC, sys::fs::F_None));
> + new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
> #else
> std::unique_ptr<tool_output_file> Out(
> - new tool_output_file(OutputFilename, EC, sys::fs::F_None));
> + new tool_output_file(OutputFilename, EC, sys::fs::OF_None));
> #endif
> if (EC) {
> errs() << EC.message() << '\n';
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190805/b4567d0e/attachment.html>
More information about the cfe-commits
mailing list