[all-commits] [llvm/llvm-project] 29a631: [libc][NFC] Add a separate flag for capturing the ...

Siva Chandra via All-commits all-commits at lists.llvm.org
Thu Mar 17 08:44:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29a631a273d7e64b6eeb15e5403f8b0f4c2ab5aa
      https://github.com/llvm/llvm-project/commit/29a631a273d7e64b6eeb15e5403f8b0f4c2ab5aa
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M libc/src/__support/File/file.cpp
    M libc/src/__support/File/file.h

  Log Message:
  -----------
  [libc][NFC] Add a separate flag for capturing the '+' in fopen mode string.

Having a separate flag helps in setting up proper flags when
implementing, say the Linux specialization of File.

Along the way, a signature for a function which is to be used to open
files has been added. The implementation of the function is to be
included in platform specializations.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D121889




More information about the All-commits mailing list