aboutsummaryrefslogtreecommitdiffstats
path: root/lib/IR/AttributeImpl.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-04-17 23:35:59 +0000
committerBill Wendling <isanbard@gmail.com>2013-04-17 23:35:59 +0000
commitb1ac6e617291e2a628bc460933bde97c73466cb0 (patch)
treec4207d2f1e88610f79ccf1bd5e815607d34ee7eb /lib/IR/AttributeImpl.h
parentf92bf40cedf2204211b96d27e89e0e2f0170b78d (diff)
downloadexternal_llvm-b1ac6e617291e2a628bc460933bde97c73466cb0.zip
external_llvm-b1ac6e617291e2a628bc460933bde97c73466cb0.tar.gz
external_llvm-b1ac6e617291e2a628bc460933bde97c73466cb0.tar.bz2
Add an option `-enable-old-style-attr-syntax' to print out function attributes in the "old" style.
It's sometimes beneficial to emit a testcase with the old style attribute syntax. Allow someone to do this. <rdar://problem/13563209> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/AttributeImpl.h')
-rw-r--r--lib/IR/AttributeImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/AttributeImpl.h b/lib/IR/AttributeImpl.h
index ad2670d..7d34c72 100644
--- a/lib/IR/AttributeImpl.h
+++ b/lib/IR/AttributeImpl.h
@@ -178,7 +178,7 @@ public:
unsigned getAlignment() const;
unsigned getStackAlignment() const;
- std::string getAsString(bool InAttrGrp) const;
+ std::string getAsString(bool TargetIndependent, bool InAttrGrp) const;
typedef SmallVectorImpl<Attribute>::iterator iterator;
typedef SmallVectorImpl<Attribute>::const_iterator const_iterator;