From 9ee155b80020791c31cd17b044a6a7687bc724c9 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Thu, 29 Jan 2015 16:02:06 +0000 Subject: [PATCH] Attempting to fix a build issue with MSVC 2012; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227456 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-pdbdump/COMExtras.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/llvm-pdbdump/COMExtras.h b/tools/llvm-pdbdump/COMExtras.h index 913d179ce41..f77b4932296 100644 --- a/tools/llvm-pdbdump/COMExtras.h +++ b/tools/llvm-pdbdump/COMExtras.h @@ -20,7 +20,7 @@ namespace llvm { template struct function_traits; -#if LLVM_HAS_VARIADIC_TEMPLATES +#if 0 && LLVM_HAS_VARIADIC_TEMPLATES template struct function_traits : public function_traits {}; @@ -37,13 +37,15 @@ struct function_traits { // exclusively. template struct function_traits { - using args_tuple = std::tuple; + //using args_tuple = std::tuple; + typedef std::tuple args_tuple; }; template struct function_traits { - using args_tuple = std::tuple; + //using args_tuple = std::tuple; + typedef std::tuple args_tuple; }; #endif -- 2.34.1