mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-05 10:39:21 +00:00
Add a default empty string to the 'value' of a string attribute.
llvm-svn: 175016
This commit is contained in:
parent
1ea13bd49f
commit
42ec85cc86
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user