Revert "revert r179735, it has no testcases, and doesn't really make sense."
[oota-llvm.git] / include / llvm / IR / Attributes.h
index 39bf13b6937ddcbbbfd3b73b9e6d6065527064d2..c801436910d90e3e2024f4dd05e9388ac53c0640 100644 (file)
@@ -307,7 +307,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 = true,
+                          bool InAttrGrp = false) const;
 
   typedef ArrayRef<Attribute>::iterator iterator;