projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64bbf7e
)
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)
llvm-svn: 175016
llvm/include/llvm/IR/Attributes.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/IR/Attributes.h
b/llvm/include/llvm/IR/Attributes.h
index
d064e7e
..
c8be27c
100644
(file)
--- a/
llvm/include/llvm/IR/Attributes.h
+++ b/
llvm/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);