diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2022-09-13 13:03:34 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2022-09-13 13:11:56 +0800 |
commit | 79fa0ec8c4bfeeb21f7b44ebd9a66e7ec9781798 (patch) | |
tree | 0d4673995f33c248a760489cac3a73542ee0c407 /llvm/tools/llvm-dwp/llvm-dwp.cpp | |
parent | 35028d417bb32bc05294e77c9ddcf50f24f277eb (diff) | |
download | llvm-79fa0ec8c4bfeeb21f7b44ebd9a66e7ec9781798.zip llvm-79fa0ec8c4bfeeb21f7b44ebd9a66e7ec9781798.tar.gz llvm-79fa0ec8c4bfeeb21f7b44ebd9a66e7ec9781798.tar.bz2 |
[C++20] [Modules] Make member functions with a in-class definition in HU implicitly inline
According to [dcl.inline]p7/note4,
> In the global module, a function defined within a class definition is
> implicitly inline.
And the declarations in the header unit are attached to the global
module fragment. So the function defined within a class definition in
header units should be implicitly inline too.
This fixes https://github.com/llvm/llvm-project/issues/57571.
Diffstat (limited to 'llvm/tools/llvm-dwp/llvm-dwp.cpp')
0 files changed, 0 insertions, 0 deletions