From: Chris Lattner Date: Thu, 3 Jun 2004 22:07:26 +0000 (+0000) Subject: The prototype for ParseCommandLineOptions changed at some point, but this X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=51ae205adfe7f162ea8acd05087f190a6a352641;p=oota-llvm.git The prototype for ParseCommandLineOptions changed at some point, but this 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 --- diff --git a/include/Support/CommandLine.h b/include/Support/CommandLine.h index 1a4a2adaab0..0d1d14813cd 100644 --- a/include/Support/CommandLine.h +++ b/include/Support/CommandLine.h @@ -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 diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 1a4a2adaab0..0d1d14813cd 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -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