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

Chris Lattner lattner at cs.uiuc.edu
Thu Jun 3 17:12:02 PDT 2004


Changes in directory llvm/include/Support:

CommandLine.h updated: 1.31 -> 1.32

---
Log message:

The prototype for ParseCommandLineOptions changed at some point, but this
was never updated.  I guess GCC just ignores the prototype


---
Diffs of the changes:  (+1 -1)

Index: llvm/include/Support/CommandLine.h
diff -u llvm/include/Support/CommandLine.h:1.31 llvm/include/Support/CommandLine.h:1.32
--- llvm/include/Support/CommandLine.h:1.31	Thu May  6 21:27:32 2004
+++ llvm/include/Support/CommandLine.h	Thu Jun  3 17:07:26 2004
@@ -119,7 +119,7 @@
 //
 class alias;
 class Option {
-  friend void cl::ParseCommandLineOptions(int &, char **, const char *, int);
+  friend void cl::ParseCommandLineOptions(int &, char **, const char *);
   friend class alias;
 
   // handleOccurrences - Overriden by subclasses to handle the value passed into





More information about the llvm-commits mailing list