From 04945975668bd791efa3b9272163a028eb962159 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 29 Apr 2013 23:48:06 +0000 Subject: 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 --- llvm/lib/IR/Attributes.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/IR/Attributes.cpp') 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. -- cgit v1.2.3