The prototype for ParseCommandLineOptions changed at some point, but this
authorChris Lattner <sabre@nondot.org>
Thu, 3 Jun 2004 22:07:26 +0000 (22:07 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 3 Jun 2004 22:07:26 +0000 (22:07 +0000)
was never updated.  I guess GCC just ignores the prototype

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13995 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/CommandLine.h
include/llvm/Support/CommandLine.h

index 1a4a2adaab0b7150469215cf4eab50f43d68416d..0d1d14813cd4cc7eaa1d272addbf1f46b94ea19f 100644 (file)
@@ -119,7 +119,7 @@ enum MiscFlags {                // Miscellaneous flags to adjust argument
 //
 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
index 1a4a2adaab0b7150469215cf4eab50f43d68416d..0d1d14813cd4cc7eaa1d272addbf1f46b94ea19f 100644 (file)
@@ -119,7 +119,7 @@ enum MiscFlags {                // Miscellaneous flags to adjust argument
 //
 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