[PATCH] D100872: Use OpenFlags instead of boolean to set a file as text/binary

Abhina Sree via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 20 10:45:20 PDT 2021


abhina.sreeskantharajan created this revision.
abhina.sreeskantharajan requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch updates the functions createDefaultOutputFile, createOutputFile, createOutputFileImpl to use OpenFlags instead of a boolean binary flag.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100872

Files:
  clang/include/clang/Frontend/CompilerInstance.h
  clang/lib/CodeGen/CodeGenAction.cpp
  clang/lib/Frontend/CompilerInstance.cpp
  clang/lib/Frontend/FrontendActions.cpp
  clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
  clang/lib/Frontend/Rewrite/FrontendActions.cpp
  clang/tools/driver/cc1_main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100872.338918.patch
Type: text/x-patch
Size: 15203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210420/8cbb4372/attachment-0001.bin>


More information about the cfe-commits mailing list