diff options
| author | tomasz-kaminski-sonarsource <79814193+tomasz-kaminski-sonarsource@users.noreply.github.com> | 2024-09-24 09:34:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-24 09:34:39 +0200 |
| commit | 4ac141683c310447f0efba775dc59b2145511ac0 (patch) | |
| tree | d0c55d21d7083fd81406d0132387bec51729b2ab /llvm/lib/Object/ModuleSymbolTable.cpp | |
| parent | 1493c247b687160aa92cf13ac1c6f363870bbac0 (diff) | |
| download | llvm-4ac141683c310447f0efba775dc59b2145511ac0.zip llvm-4ac141683c310447f0efba775dc59b2145511ac0.tar.gz llvm-4ac141683c310447f0efba775dc59b2145511ac0.tar.bz2 | |
[C++20][Modules] NFC Reworked handling of inline for functions defined in class (#109470)
Reworked handling of implicit inline marking for member and friend
function defined in class.
Now, we handle it in an additive manner, i.e. if such in-class functions
are inline implicitly by language rules,
we mark the as `setImplicitInline`, and perform no action otherwise.
As we never remove inline specifier, the implementation is orthogonal to
other sources of inline
(like `inline`, `constexpr`, e.t.c), and we do not need to handle them
specially.
Also included test for `constexpr`, `consteval` and global module cases.
Diffstat (limited to 'llvm/lib/Object/ModuleSymbolTable.cpp')
0 files changed, 0 insertions, 0 deletions
