diff options
| -rw-r--r-- | llvm/include/llvm/Support/YAMLTraits.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/llvm/include/llvm/Support/YAMLTraits.h b/llvm/include/llvm/Support/YAMLTraits.h index 1716a9d36e8..89890e6ee3a 100644 --- a/llvm/include/llvm/Support/YAMLTraits.h +++ b/llvm/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];                                                  \ | 

