summaryrefslogtreecommitdiff
path: root/include/llvm/IR/Attributes.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-04-18 21:45:04 +0000
committerBill Wendling <isanbard@gmail.com>2013-04-18 21:45:04 +0000
commita88a016f2d99488f2eff0eb6be256f2f43602afa (patch)
tree9e2b8fa7b7532884c9f6d667386a4fac071d28ff /include/llvm/IR/Attributes.h
parentfcba22decb8f44ff9aa8807f275ca3a32589fba0 (diff)
downloadllvm-a88a016f2d99488f2eff0eb6be256f2f43602afa.tar.gz
llvm-a88a016f2d99488f2eff0eb6be256f2f43602afa.tar.bz2
llvm-a88a016f2d99488f2eff0eb6be256f2f43602afa.tar.xz
Make the TargetIndependent flag have the right boolean value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR/Attributes.h')
-rw-r--r--include/llvm/IR/Attributes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h
index 4e113d6a61..f93f28b239 100644
--- a/include/llvm/IR/Attributes.h
+++ b/include/llvm/IR/Attributes.h
@@ -306,7 +306,7 @@ public:
unsigned getStackAlignment(unsigned Index) const;
/// \brief Return the attributes at the index as a string.
- std::string getAsString(unsigned Index, bool TargetIndependent = false,
+ std::string getAsString(unsigned Index, bool TargetIndependent = true,
bool InAttrGrp = false) const;
typedef ArrayRef<Attribute>::iterator iterator;