Skip to content

Commit a684610

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -800,9 +800,9 @@ static bool isSamePredicate(MatcherNode *node, OrderedPredicate *predicate) {
800800

801801
/// Get or insert a child matcher for the given parent switch node, given a
802802
/// predicate and parent pattern.
803-
std::unique_ptr<MatcherNode> &getOrCreateChild(SwitchNode *node,
804-
OrderedPredicate *predicate,
805-
pdl::PatternOp pattern) {
803+
static std::unique_ptr<MatcherNode> &
804+
getOrCreateChild(SwitchNode *node, OrderedPredicate *predicate,
805+
pdl::PatternOp pattern) {
806806
assert(isSamePredicate(node, predicate) &&
807807
"expected matcher to equal the given predicate");
808808

0 commit comments

Comments
 (0)