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/IR/Attributes.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/IR/Attributes.cpp')
-rw-r--r-- | llvm/lib/IR/Attributes.cpp | 2 |
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; |