diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-04-18 21:45:04 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-04-18 21:45:04 +0000 |
commit | a88a016f2d99488f2eff0eb6be256f2f43602afa (patch) | |
tree | 9e2b8fa7b7532884c9f6d667386a4fac071d28ff /lib/IR/Attributes.cpp | |
parent | fcba22decb8f44ff9aa8807f275ca3a32589fba0 (diff) | |
download | external_llvm-a88a016f2d99488f2eff0eb6be256f2f43602afa.zip external_llvm-a88a016f2d99488f2eff0eb6be256f2f43602afa.tar.gz external_llvm-a88a016f2d99488f2eff0eb6be256f2f43602afa.tar.bz2 |
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 'lib/IR/Attributes.cpp')
-rw-r--r-- | lib/IR/Attributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/Attributes.cpp b/lib/IR/Attributes.cpp index d2b438f..98dcecf 100644 --- a/lib/IR/Attributes.cpp +++ b/lib/IR/Attributes.cpp @@ -485,7 +485,7 @@ std::string AttributeSetNode::getAsString(bool TargetIndependent, std::string Str = ""; for (SmallVectorImpl<Attribute>::const_iterator I = AttrList.begin(), E = AttrList.end(); I != E; ) { - if (!TargetIndependent || !I->isStringAttribute()) { + if (TargetIndependent || !I->isStringAttribute()) { Str += I->getAsString(InAttrGrp); if (++I != E) Str += " "; } else { |