diff options
author | Kazu Hirata <kazu@google.com> | 2025-09-23 08:11:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-23 08:11:00 -0700 |
commit | 2800ac203cba9e82f31334ff5439b9a91f7444fa (patch) | |
tree | 24da97b7c2f9a8eec6028008c7df9d9ded434c39 /llvm/lib/Support/OptimizedStructLayout.cpp | |
parent | 699574205f2dee911753f0ef690e163239bc1872 (diff) | |
download | llvm-2800ac203cba9e82f31334ff5439b9a91f7444fa.zip llvm-2800ac203cba9e82f31334ff5439b9a91f7444fa.tar.gz llvm-2800ac203cba9e82f31334ff5439b9a91f7444fa.tar.bz2 |
[Support] Use "inline static" to initialize Registry (NFC) (#160235)
In C++17, we can initialize a static member variable with "inline
static" as part of the class definition. With this, we can eliminate
the out-of-line static initializers involving boilerplate template
code.
Diffstat (limited to 'llvm/lib/Support/OptimizedStructLayout.cpp')
0 files changed, 0 insertions, 0 deletions