[SystemZ][z/OS] JSON file should be text files
authorAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>
Wed, 24 Mar 2021 17:27:53 +0000 (13:27 -0400)
committerAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>
Wed, 24 Mar 2021 17:28:08 +0000 (13:28 -0400)
commit0bf833f670bdc42009b0ff208e8266f528e0a82c
tree86fc7dc8c2bf2a2f2bf5bb4e694be5711197a115
parent3b52c04e82fada6483337dfd6a033f336fbc73ec
[SystemZ][z/OS] JSON file should be text files

This patch sets the OF_Text flag correctly for the json file created in Clang::DumpCompilationDatabaseFragmentToDir.

Reviewed By: amccarth

Differential Revision: https://reviews.llvm.org/D99200
clang/lib/Driver/ToolChains/Clang.cpp