aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-03 22:07:26 +0000
committerChris Lattner <sabre@nondot.org>2004-06-03 22:07:26 +0000
commit51ae205adfe7f162ea8acd05087f190a6a352641 (patch)
tree9acb8c818bcee3c11c4d4f18455a2aaf1a613a94
parent1770e2cf01159da3f965fd9adea95cedc0010619 (diff)
downloadexternal_llvm-51ae205adfe7f162ea8acd05087f190a6a352641.zip
external_llvm-51ae205adfe7f162ea8acd05087f190a6a352641.tar.gz
external_llvm-51ae205adfe7f162ea8acd05087f190a6a352641.tar.bz2
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
-rw-r--r--include/Support/CommandLine.h2
-rw-r--r--include/llvm/Support/CommandLine.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/Support/CommandLine.h b/include/Support/CommandLine.h
index 1a4a2ad..0d1d148 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 1a4a2ad..0d1d148 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