mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-18 19:38:51 +00:00
Add a default empty string to the 'value' of a string attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8a8de9889d
commit
ad19d9c422
@ -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…
x
Reference in New Issue
Block a user