Skip to content

Commit edc9128

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ LogicalResult transform::TransformState::setParams(Value value,
312312
}
313313

314314
template <typename Mapping, typename Key, typename Mapped>
315-
void dropMappingEntry(Mapping &mapping, Key key, Mapped mapped) {
315+
static void dropMappingEntry(Mapping &mapping, Key key, Mapped mapped) {
316316
auto it = mapping.find(key);
317317
if (it == mapping.end())
318318
return;
@@ -771,7 +771,7 @@ LogicalResult transform::TransformState::checkAndRecordHandleInvalidation(
771771
}
772772

773773
template <typename T>
774-
DiagnosedSilenceableFailure
774+
static DiagnosedSilenceableFailure
775775
checkRepeatedConsumptionInOperand(ArrayRef<T> payload,
776776
transform::TransformOpInterface transform,
777777
unsigned operandNumber) {

0 commit comments

Comments
 (0)