summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-05-31 17:01:42 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-05-31 17:01:42 +0000
commit745918ff87f17fae86edcdfac8daa16f44c8b1e0 (patch)
tree3f575e1742afd5c774dfda880087e32723052c4d /llvm/lib/CodeGen/MachineOperand.cpp
parent5430b7375565a27ccadcf4a413153a3ceac8715a (diff)
downloadbcm5719-llvm-745918ff87f17fae86edcdfac8daa16f44c8b1e0.tar.gz
bcm5719-llvm-745918ff87f17fae86edcdfac8daa16f44c8b1e0.zip
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineOperand.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud