Revert "Remove unused variable."
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 12 Nov 2013 16:37:31 +0000 (16:37 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 12 Nov 2013 16:37:31 +0000 (16:37 +0000)
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

include/llvm/Support/YAMLTraits.h

index a8319a6c10d56ccc0cb304fecf6cecb6ad74817a..98964fc00200527d19230b6ab106339496490e68 100644 (file)
@@ -1069,6 +1069,7 @@ operator<<(Output &yout, T &seq) {
           seq.resize(index+1);                                              \
         return seq[index];                                                  \
       }                                                                     \
+      static const bool flow = true;                                        \
     };                                                                      \
   }                                                                         \
   }