aboutsummaryrefslogtreecommitdiffstats
path: root/lib/IR/Attributes.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-04-29 23:48:06 +0000
committerBill Wendling <isanbard@gmail.com>2013-04-29 23:48:06 +0000
commit725dae57916800c7371c5008bd451fb3edb273b2 (patch)
tree767dc82f63c34480e662c9823f1223352fe62f84 /lib/IR/Attributes.cpp
parentff6222ef2f474aea9fcca38a69be6245a4af2aa3 (diff)
downloadexternal_llvm-725dae57916800c7371c5008bd451fb3edb273b2.zip
external_llvm-725dae57916800c7371c5008bd451fb3edb273b2.tar.gz
external_llvm-725dae57916800c7371c5008bd451fb3edb273b2.tar.bz2
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/Attributes.cpp')
-rw-r--r--lib/IR/Attributes.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/IR/Attributes.cpp b/lib/IR/Attributes.cpp
index 80968db..065f772 100644
--- a/lib/IR/Attributes.cpp
+++ b/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.