projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add two helpers to IRBuilder to flesh the interface out to N-width
[oota-llvm.git]
/
include
/
llvm
/
Support
/
YAMLTraits.h
diff --git
a/include/llvm/Support/YAMLTraits.h
b/include/llvm/Support/YAMLTraits.h
index 1716a9d36e8053981e131af70f645ff5aa2a16df..89890e6ee3a67f8347616ee7ead7f40ef76ea282 100644
(file)
--- a/
include/llvm/Support/YAMLTraits.h
+++ b/
include/llvm/Support/YAMLTraits.h
@@
-1123,6
+1123,7
@@
operator<<(Output &yout, T &seq) {
return seq.size(); \
} \
static _type& element(IO &io, std::vector<_type> &seq, size_t index) {\
+ (void)flow; /* Remove this workaround after PR17897 is fixed */ \
if ( index >= seq.size() ) \
seq.resize(index+1); \
return seq[index]; \