Skip to content

Commit f5c28bd

Browse files
committed
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in ViewOpGraph.cpp (NFC)
1 parent 36a95a5 commit f5c28bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Transforms/ViewOpGraph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static std::string quoteString(const std::string &str) {
5757
/// For Graphviz record nodes:
5858
/// " Braces, vertical bars and angle brackets must be escaped with a backslash
5959
/// character if you wish them to appear as a literal character "
60-
std::string escapeLabelString(const std::string &str) {
60+
static std::string escapeLabelString(const std::string &str) {
6161
std::string buf;
6262
llvm::raw_string_ostream os(buf);
6363
for (char c : str) {

0 commit comments

Comments
 (0)