We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f899893 commit eaedab2Copy full SHA for eaedab2
mlir/lib/Target/SPIRV/Serialization/Serializer.cpp
@@ -260,9 +260,9 @@ static std::string getDecorationName(StringRef attrName) {
260
}
261
262
template <typename AttrTy, typename EmitF>
263
-LogicalResult processDecorationList(Location loc, Decoration decoration,
264
- Attribute attrList, StringRef attrName,
265
- EmitF emitter) {
+static LogicalResult processDecorationList(Location loc, Decoration decoration,
+ Attribute attrList,
+ StringRef attrName, EmitF emitter) {
266
auto arrayAttr = dyn_cast<ArrayAttr>(attrList);
267
if (!arrayAttr) {
268
return emitError(loc, "expecting array attribute of ")
0 commit comments