From 4042332d4a8ba8e4d2b3a6d87a3af81fc73a0f98 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 13 Sep 2002 14:33:39 +0000 Subject: [PATCH] Checkin patch written by Casey Carter, enabling support for the redhat GCC 2.96 compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3697 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/Support/CommandLine.h | 4 ++++ include/llvm/Support/CommandLine.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/Support/CommandLine.h b/include/Support/CommandLine.h index 8ea8f8211af..23a12855439 100644 --- a/include/Support/CommandLine.h +++ b/include/Support/CommandLine.h @@ -562,6 +562,10 @@ template struct applicator { template static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } }; +template struct applicator { + template + static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } +}; template<> struct applicator { template static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 8ea8f8211af..23a12855439 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -562,6 +562,10 @@ template struct applicator { template static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } }; +template struct applicator { + template + static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } +}; template<> struct applicator { template static void opt(const char *Str, Opt &O) { O.setArgStr(Str); }