aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorRahul Joshi <rjoshi@nvidia.com>2025-09-02 07:28:36 -0700
committerGitHub <noreply@github.com>2025-09-02 07:28:36 -0700
commit0196d7ec6988c39fa08ba296d28ffb00494f2834 (patch)
treec38373619ec6c65d324248a833dfe25eb48186c6 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent1ff6bfe7a5c672a7349a5a619d44b4892c8b7f74 (diff)
downloadllvm-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