Add a default empty string to the 'value' of a string attribute.

llvm-svn: 175016
This commit is contained in:
Bill Wendling 2013-02-12 23:14:31 +00:00
parent 1ea13bd49f
commit 42ec85cc86

View File

@ -418,7 +418,7 @@ public:
AttrBuilder &addAttribute(Attribute A);
/// \brief Add the target-dependent attribute to the builder.
AttrBuilder &addAttribute(StringRef A, StringRef V);
AttrBuilder &addAttribute(StringRef A, StringRef V = StringRef());
/// \brief Remove an attribute from the builder.
AttrBuilder &removeAttribute(Attribute::AttrKind Val);