HomePhabricator

[libc++] add `inline` for __open's definition in ifstream and ofstream

Authored by jasonliu on Apr 12 2021, 12:22 PM.

Description

[libc++] add inline for __open's definition in ifstream and ofstream

Summary:

When building with gcc on AIX, it seems that gcc does not like the
always_inline without the inline keyword.
So adding the inline keywords in for open in ifstream and ofstream.
That will also make it consistent with
open in basic_filebuf
(it seems we added inline there before for gcc build as well).

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

Details

Committed
jasonliuApr 12 2021, 12:25 PM
Differential Revision
D99422: [libc++] add `inline` for __open in ifstream and ofstream
Parents
rGfd91f81c857a: [mlir][spirv] Put debug-only variable in LLVM_DEBUG
Branches
Unknown
Tags
Unknown