[llvm] r194486 - Revert "Remove unused variable."
Rafael Espindola
rafael.espindola at gmail.com
Tue Nov 12 08:37:31 PST 2013
Author: rafael
Date: Tue Nov 12 10:37:31 2013
New Revision: 194486
URL: http://llvm.org/viewvc/llvm-project?rev=194486&view=rev
Log:
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.
Modified:
llvm/trunk/include/llvm/Support/YAMLTraits.h
Modified: llvm/trunk/include/llvm/Support/YAMLTraits.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/YAMLTraits.h?rev=194486&r1=194485&r2=194486&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/YAMLTraits.h (original)
+++ llvm/trunk/include/llvm/Support/YAMLTraits.h Tue Nov 12 10:37:31 2013
@@ -1069,6 +1069,7 @@ operator<<(Output &yout, T &seq) {
seq.resize(index+1); \
return seq[index]; \
} \
+ static const bool flow = true; \
}; \
} \
}
More information about the llvm-commits
mailing list