diff options
author | Chris Lattner <sabre@nondot.org> | 2002-09-13 14:33:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-09-13 14:33:39 +0000 |
commit | 4042332d4a8ba8e4d2b3a6d87a3af81fc73a0f98 (patch) | |
tree | 8aaf9197a5de492d3f3e434c5d0e80bf0a6385e1 /include/Support | |
parent | 59afbf3999ebcbb5cc2bb4c8592f550b70fb0a3c (diff) | |
download | external_llvm-4042332d4a8ba8e4d2b3a6d87a3af81fc73a0f98.zip external_llvm-4042332d4a8ba8e4d2b3a6d87a3af81fc73a0f98.tar.gz external_llvm-4042332d4a8ba8e4d2b3a6d87a3af81fc73a0f98.tar.bz2 |
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
Diffstat (limited to 'include/Support')
-rw-r--r-- | include/Support/CommandLine.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/Support/CommandLine.h b/include/Support/CommandLine.h index 8ea8f82..23a1285 100644 --- a/include/Support/CommandLine.h +++ b/include/Support/CommandLine.h @@ -562,6 +562,10 @@ template<unsigned n> struct applicator<char[n]> { template<class Opt> static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } }; +template<unsigned n> struct applicator<const char[n]> { + template<class Opt> + static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } +}; template<> struct applicator<const char*> { template<class Opt> static void opt(const char *Str, Opt &O) { O.setArgStr(Str); } |