llvm.org GIT mirror llvm / 415ae04
Suppress an annoying "unused variable" warning caused by bug 17897. Clang says that "flow" is unused when building LLD. This patch suppresses it. Differential Revision: http://llvm-reviews.chandlerc.com/D2573 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199922 91177308-0d34-0410-b5e6-96231b3b80d8 Rui Ueyama 6 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
11221122 return seq.size(); \
11231123 } \
11241124 static _type& element(IO &io, std::vector<_type> &seq, size_t index) {\
1125 (void)flow; /* Remove this workaround after PR17897 is fixed */ \
11251126 if ( index >= seq.size() ) \
11261127 seq.resize(index+1); \
11271128 return seq[index]; \