Add an option `-enable-old-style-attr-syntax' to print out function attributes in...
[oota-llvm.git] / include / llvm / IR / Attributes.h
index 074b38779ae829da27ece11a8fe7b669e86c5432..6c014ea10465bba645869a84dbd55d285f1a6727 100644 (file)
@@ -306,7 +306,8 @@ public:
   unsigned getStackAlignment(unsigned Index) const;
 
   /// \brief Return the attributes at the index as a string.
-  std::string getAsString(unsigned Index, bool InAttrGrp = false) const;
+  std::string getAsString(unsigned Index, bool TargetIndependent = false,
+                          bool InAttrGrp = false) const;
 
   typedef ArrayRef<Attribute>::iterator iterator;