diff options
author | Rahul Joshi <rjoshi@nvidia.com> | 2025-09-02 07:28:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-02 07:28:36 -0700 |
commit | 0196d7ec6988c39fa08ba296d28ffb00494f2834 (patch) | |
tree | c38373619ec6c65d324248a833dfe25eb48186c6 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 1ff6bfe7a5c672a7349a5a619d44b4892c8b7f74 (diff) | |
download | llvm-0196d7ec6988c39fa08ba296d28ffb00494f2834.zip llvm-0196d7ec6988c39fa08ba296d28ffb00494f2834.tar.gz llvm-0196d7ec6988c39fa08ba296d28ffb00494f2834.tar.bz2 |
[MC][DecoderEmitter] Fix build warning: explicit specialization cannot have a storage class (#156375)
Move `InsnBitWidth` template into anonymous namespace in the generated
code and move template specialization of `InsnBitWidth` to anonymous
namespace as well, and drop `static` for them. This makes `InsnBitWidth`
completely private to each target and fixes the "explicit specialization
cannot have a storage class" warning as well as any potential linker
errors if `InsnBitWidth` is kept in the `llvm::MCD` namespace.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions