summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Attributes.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/IR/Attributes.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/IR/Attributes.cpp')
-rw-r--r--llvm/lib/IR/Attributes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp
index dbe38c2095d..01de8bb5627 100644
--- a/llvm/lib/IR/Attributes.cpp
+++ b/llvm/lib/IR/Attributes.cpp
@@ -419,7 +419,7 @@ std::string Attribute::getAsString(bool InAttrGrp) const {
{
raw_string_ostream OS(Result);
OS << "=\"";
- PrintEscapedString(AttrVal, OS);
+ printEscapedString(AttrVal, OS);
OS << "\"";
}
return Result;
OpenPOWER on IntegriCloud