From 745918ff87f17fae86edcdfac8daa16f44c8b1e0 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 31 May 2018 17:01:42 +0000 Subject: [ADT] Make escaping fn conform to coding guidelines As noted by Adrian on llvm-commits, PrintHTMLEscaped and PrintEscaped in StringExtras did not conform to the LLVM coding guidelines. This commit rectifies that. llvm-svn: 333669 --- llvm/lib/CodeGen/MachineOperand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/MachineOperand.cpp') diff --git a/llvm/lib/CodeGen/MachineOperand.cpp b/llvm/lib/CodeGen/MachineOperand.cpp index 2078a8bc6b0..8098333832b 100644 --- a/llvm/lib/CodeGen/MachineOperand.cpp +++ b/llvm/lib/CodeGen/MachineOperand.cpp @@ -474,7 +474,7 @@ static void printSyncScope(raw_ostream &OS, const LLVMContext &Context, Context.getSyncScopeNames(SSNs); OS << "syncscope(\""; - PrintEscapedString(SSNs[SSID], OS); + printEscapedString(SSNs[SSID], OS); OS << "\") "; break; } -- cgit v1.2.3