summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-11-12 16:37:31 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-11-12 16:37:31 +0000
commitc47adf8db2cbe21f5de0a955b8ef89f177c9ad16 (patch)
tree25cc0e0b2ddf743f66525d586104563a06207d9c /include
parent67a404dc26ce29338375ad627333a1af082d70d6 (diff)
downloadllvm-c47adf8db2cbe21f5de0a955b8ef89f177c9ad16.tar.gz
llvm-c47adf8db2cbe21f5de0a955b8ef89f177c9ad16.tar.bz2
llvm-c47adf8db2cbe21f5de0a955b8ef89f177c9ad16.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/YAMLTraits.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/YAMLTraits.h b/include/llvm/Support/YAMLTraits.h
index a8319a6c10..98964fc002 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; \
}; \
} \
}