[llvm] r227459 - Oops -- accidentally commit some debug code! Removing that code; NFC (this time for real).
Aaron Ballman
aaron at aaronballman.com
Thu Jan 29 08:18:59 PST 2015
Author: aaronballman
Date: Thu Jan 29 10:18:59 2015
New Revision: 227459
URL: http://llvm.org/viewvc/llvm-project?rev=227459&view=rev
Log:
Oops -- accidentally commit some debug code! Removing that code; NFC (this time for real).
Modified:
llvm/trunk/tools/llvm-pdbdump/COMExtras.h
Modified: llvm/trunk/tools/llvm-pdbdump/COMExtras.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-pdbdump/COMExtras.h?rev=227459&r1=227458&r2=227459&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-pdbdump/COMExtras.h (original)
+++ llvm/trunk/tools/llvm-pdbdump/COMExtras.h Thu Jan 29 10:18:59 2015
@@ -20,7 +20,7 @@ namespace llvm {
template <typename F> struct function_traits;
-#if 0 && LLVM_HAS_VARIADIC_TEMPLATES
+#if LLVM_HAS_VARIADIC_TEMPLATES
template <typename R, typename... Args>
struct function_traits<R (*)(Args...)> : public function_traits<R(Args...)> {};
@@ -37,14 +37,12 @@ struct function_traits<R (__stdcall C::*
// exclusively.
template <typename C, typename R, typename A1, typename A2, typename A3>
struct function_traits<R (__stdcall C::*)(A1, A2, A3)> {
- //using args_tuple = std::tuple<A1, A2, A3>;
typedef std::tuple<A1, A2, A3> args_tuple;
};
template <typename C, typename R, typename A1, typename A2, typename A3,
typename A4, typename A5>
struct function_traits<R (__stdcall C::*)(A1, A2, A3, A4, A5)> {
- //using args_tuple = std::tuple<A1, A2, A3, A4, A5>;
typedef std::tuple<A1, A2, A3, A4, A5> args_tuple;
};
#endif
More information about the llvm-commits
mailing list