Skip to content

Commit eaedab2

Browse files
committed
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in Serializer.cpp (NFC)
1 parent f899893 commit eaedab2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Target/SPIRV/Serialization/Serializer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,9 @@ static std::string getDecorationName(StringRef attrName) {
260260
}
261261

262262
template <typename AttrTy, typename EmitF>
263-
LogicalResult processDecorationList(Location loc, Decoration decoration,
264-
Attribute attrList, StringRef attrName,
265-
EmitF emitter) {
263+
static LogicalResult processDecorationList(Location loc, Decoration decoration,
264+
Attribute attrList,
265+
StringRef attrName, EmitF emitter) {
266266
auto arrayAttr = dyn_cast<ArrayAttr>(attrList);
267267
if (!arrayAttr) {
268268
return emitError(loc, "expecting array attribute of ")

0 commit comments

Comments
 (0)