diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2023-12-13 10:17:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 10:17:27 -0500 |
commit | b81c69415e47bcf59801cb751eed08a6d1cb23f1 (patch) | |
tree | cd2e68883eedf1cb5cfefce7159fd9fcc4c285f4 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a26aa79a3ba5638cd1f8a1a12ae30e481dd2f007 (diff) | |
download | llvm-b81c69415e47bcf59801cb751eed08a6d1cb23f1.zip llvm-b81c69415e47bcf59801cb751eed08a6d1cb23f1.tar.gz llvm-b81c69415e47bcf59801cb751eed08a6d1cb23f1.tar.bz2 |
[libc++][NFC] Add a few explicit 'inline' keywords, mostly in <chrono> (#75234)
Even though constexpr implicitly makes functions inline, we try not to
rely on this implicit effect in the code base. We are mostly consistent
about using `inline` on non-template free-functions to make it clear
that we don't have an ODR violation.
This patch simply fixes a few places where we didn't explicitly use
inline on non-template free functions, presumably because they were
constexpr.
Fixes #75227
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions