From 51ae205adfe7f162ea8acd05087f190a6a352641 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 3 Jun 2004 22:07:26 +0000 Subject: [PATCH] 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 --- include/Support/CommandLine.h | 2 +- include/llvm/Support/CommandLine.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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