[all-commits] [llvm/llvm-project] 52e9d8: [libc++] add `inline` for __open's definition in i...
Jason Liu via All-commits
all-commits at lists.llvm.org
Mon Apr 12 12:26:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52e9d80d5db20f23979e409f958736d130387f9e
https://github.com/llvm/llvm-project/commit/52e9d80d5db20f23979e409f958736d130387f9e
Author: jasonliu <jasonliu.development at gmail.com>
Date: 2021-04-12 (Mon, 12 Apr 2021)
Changed paths:
M libcxx/include/fstream
Log Message:
-----------
[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
More information about the All-commits
mailing list