[llvm-commits] CVS: llvm/include/Support/CommandLine.h

Chris Lattner lattner at cs.uiuc.edu
Fri Sep 13 09:34:00 PDT 2002


Changes in directory llvm/include/Support:

CommandLine.h updated: 1.8 -> 1.9

---
Log message:

Checkin patch written by Casey Carter, enabling support for the redhat GCC 2.96
compiler.



---
Diffs of the changes:

Index: llvm/include/Support/CommandLine.h
diff -u llvm/include/Support/CommandLine.h:1.8 llvm/include/Support/CommandLine.h:1.9
--- llvm/include/Support/CommandLine.h:1.8	Wed Aug  7 13:36:27 2002
+++ llvm/include/Support/CommandLine.h	Fri Sep 13 09:33:39 2002
@@ -562,6 +562,10 @@
   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); }





More information about the llvm-commits mailing list