diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-04-29 23:48:06 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-04-29 23:48:06 +0000 |
commit | 04945975668bd791efa3b9272163a028eb962159 (patch) | |
tree | d3e9110d4f51b53c20da1bf9a06eaa5e2af70d04 /llvm/lib/IR/Attributes.cpp | |
parent | 46c2b6e60570eb21d212596be133ee4a3b0a3ec5 (diff) | |
download | bcm5719-llvm-04945975668bd791efa3b9272163a028eb962159.tar.gz bcm5719-llvm-04945975668bd791efa3b9272163a028eb962159.zip |
Revert the command line option patch. However, keep the part that makes this pass on Windows. I.e., we don't emit the target dependent attributes in a comment before the function.
llvm-svn: 180750
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
-rw-r--r-- | llvm/lib/IR/Attributes.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp index 80968dbd1f7..065f7725cc8 100644 --- a/llvm/lib/IR/Attributes.cpp +++ b/llvm/lib/IR/Attributes.cpp @@ -851,8 +851,7 @@ unsigned AttributeSet::getStackAlignment(unsigned Index) const { std::string AttributeSet::getAsString(unsigned Index, bool TargetIndependent, bool InAttrGrp) const { AttributeSetNode *ASN = getAttributes(Index); - return ASN ? ASN->getAsString(TargetIndependent, InAttrGrp) : - std::string(""); + return ASN ? ASN->getAsString(TargetIndependent, InAttrGrp) : std::string(""); } /// \brief The attributes for the specified index are returned. |