[libc++] add `inline` for __open's definition in ifstream and ofstream
authorjasonliu <jasonliu.development@gmail.com>
Mon, 12 Apr 2021 19:22:12 +0000 (19:22 +0000)
committerjasonliu <jasonliu.development@gmail.com>
Mon, 12 Apr 2021 19:25:49 +0000 (19:25 +0000)
commit52e9d80d5db20f23979e409f958736d130387f9e
tree2214ff5f087f928f88ce728d8921432297040333
parentfd91f81c857a6d51957944f159c18c070eef81ed
[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
libcxx/include/fstream