projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a8de98
)
Add a default empty string to the 'value' of a string attribute.
author
Bill Wendling
<isanbard@gmail.com>
Tue, 12 Feb 2013 23:14:31 +0000
(23:14 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Tue, 12 Feb 2013 23:14:31 +0000
(23:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175016
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/IR/Attributes.h
patch
|
blob
|
history
diff --git
a/include/llvm/IR/Attributes.h
b/include/llvm/IR/Attributes.h
index
d064e7e
..
c8be27c
100644
(file)
--- a/
include/llvm/IR/Attributes.h
+++ b/
include/llvm/IR/Attributes.h
@@
-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);