[all-commits] [llvm/llvm-project] 0680e2: [libc++] add `inline` for __open's definition in i...
Jason Liu via All-commits
all-commits at lists.llvm.org
Tue Jun 22 11:29:28 PDT 2021
Branch: refs/heads/release/12.x
Home: https://github.com/llvm/llvm-project
Commit: 0680e2b5a1182abc1d2fdb6730ef7d742a4d6345
https://github.com/llvm/llvm-project/commit/0680e2b5a1182abc1d2fdb6730ef7d742a4d6345
Author: jasonliu <jasonliu.development at gmail.com>
Date: 2021-06-22 (Tue, 22 Jun 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
(cherry picked from commit 52e9d80d5db20f23979e409f958736d130387f9e)
More information about the All-commits
mailing list