diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-05-31 17:01:42 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-05-31 17:01:42 +0000 |
commit | 745918ff87f17fae86edcdfac8daa16f44c8b1e0 (patch) | |
tree | 3f575e1742afd5c774dfda880087e32723052c4d /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 5430b7375565a27ccadcf4a413153a3ceac8715a (diff) | |
download | bcm5719-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.cpp | 2 |
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; } |