Skip to content

Commit 70a6976

Browse files
gbaraldiclaude
andcommitted
processor: suppress unused function warning for add_feature_mask_u32
The non-template base case is only called by template overloads used in the old processor backends. The cpufeatures backend doesn't use these templates, so clang -Werror,-Wunused-function flags it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ea821a4 commit 70a6976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/processor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ struct FeatureList {
169169
}
170170
};
171171

172-
static inline constexpr uint32_t add_feature_mask_u32(uint32_t mask, uint32_t u32idx)
172+
JL_UNUSED static inline constexpr uint32_t add_feature_mask_u32(uint32_t mask, uint32_t u32idx)
173173
{
174174
return mask;
175175
}

0 commit comments

Comments
 (0)