From: Rafael Espindola Date: Tue, 12 Nov 2013 16:37:31 +0000 (+0000) Subject: Revert "Remove unused variable." X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c47adf8db2cbe21f5de0a955b8ef89f177c9ad16;p=llvm Revert "Remove unused variable." This reverts commit r194485. The variable is unused in some macro instantiations, but not others. We should probably fix clang to not warn on this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194486 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/YAMLTraits.h b/include/llvm/Support/YAMLTraits.h index a8319a6c10d..98964fc0020 100644 --- a/include/llvm/Support/YAMLTraits.h +++ b/include/llvm/Support/YAMLTraits.h @@ -1069,6 +1069,7 @@ operator<<(Output &yout, T &seq) { seq.resize(index+1); \ return seq[index]; \ } \ + static const bool flow = true; \ }; \ } \ }