This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/clang/include/clang/Driver/Options.h b/clang/include/clang/Driver/Options.h | |
index 57e4452..382e618 100644 | |
--- a/clang/include/clang/Driver/Options.h | |
+++ b/clang/include/clang/Driver/Options.h | |
@@ -40,7 +40,7 @@ enum ClangFlags { | |
enum ID { | |
OPT_INVALID = 0, // This is not an option ID. | |
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ | |
- HELPTEXT, METAVAR) OPT_##ID, | |
+ HELPTEXT, METAVAR, VALUE) OPT_##ID, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/clang/include/clang/Driver/Options.h b/clang/include/clang/Driver/Options.h | |
index 57e4452..382e618 100644 | |
--- a/clang/include/clang/Driver/Options.h | |
+++ b/clang/include/clang/Driver/Options.h | |
@@ -40,7 +40,7 @@ enum ClangFlags { | |
enum ID { | |
OPT_INVALID = 0, // This is not an option ID. | |
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ | |
- HELPTEXT, METAVAR) OPT_##ID, | |
+ HELPTEXT, METAVAR, VALUE) OPT_##ID, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/clang/include/clang/Driver/Options.h b/clang/include/clang/Driver/Options.h | |
index 57e4452..382e618 100644 | |
--- a/clang/include/clang/Driver/Options.h | |
+++ b/clang/include/clang/Driver/Options.h | |
@@ -40,7 +40,7 @@ enum ClangFlags { | |
enum ID { | |
OPT_INVALID = 0, // This is not an option ID. | |
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ | |
- HELPTEXT, METAVAR) OPT_##ID, | |
+ HELPTEXT, METAVAR, VALUE) OPT_##ID, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/clang/include/clang/Driver/Options.h b/clang/include/clang/Driver/Options.h | |
index 57e4452..382e618 100644 | |
--- a/clang/include/clang/Driver/Options.h | |
+++ b/clang/include/clang/Driver/Options.h | |
@@ -40,7 +40,7 @@ enum ClangFlags { | |
enum ID { | |
OPT_INVALID = 0, // This is not an option ID. | |
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ | |
- HELPTEXT, METAVAR) OPT_##ID, | |
+ HELPTEXT, METAVAR, VALUE) OPT_##ID, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/clang/include/clang/Driver/Options.h b/clang/include/clang/Driver/Options.h | |
index 57e4452..382e618 100644 | |
--- a/clang/include/clang/Driver/Options.h | |
+++ b/clang/include/clang/Driver/Options.h | |
@@ -40,7 +40,7 @@ enum ClangFlags { | |
enum ID { | |
OPT_INVALID = 0, // This is not an option ID. | |
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ | |
- HELPTEXT, METAVAR) OPT_##ID, | |
+ HELPTEXT, METAVAR, VALUE) OPT_##ID, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/clang/include/clang/Driver/Options.h b/clang/include/clang/Driver/Options.h | |
index 57e4452..382e618 100644 | |
--- a/clang/include/clang/Driver/Options.h | |
+++ b/clang/include/clang/Driver/Options.h | |
@@ -40,7 +40,7 @@ enum ClangFlags { | |
enum ID { | |
OPT_INVALID = 0, // This is not an option ID. | |
#define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ | |
- HELPTEXT, METAVAR) OPT_##ID, | |
+ HELPTEXT, METAVAR, VALUE) OPT_##ID, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt | |
index 9e43a10..c163a2b 100644 | |
--- a/clang/CMakeLists.txt | |
+++ b/clang/CMakeLists.txt | |
@@ -359,6 +359,10 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) | |
PATTERN "*.inc" | |
PATTERN "*.h" | |
) | |
+ | |
+ install(PROGRAMS utils/bash-autocomplete.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt | |
index 9e43a10..c163a2b 100644 | |
--- a/clang/CMakeLists.txt | |
+++ b/clang/CMakeLists.txt | |
@@ -359,6 +359,10 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) | |
PATTERN "*.inc" | |
PATTERN "*.h" | |
) | |
+ | |
+ install(PROGRAMS utils/bash-autocomplete.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td | |
index d812bd8..4f1ea08 100644 | |
--- a/clang/include/clang/Driver/Options.td | |
+++ b/clang/include/clang/Driver/Options.td | |
@@ -469,6 +469,7 @@ def arch__errors__fatal : Flag<["-"], "arch_errors_fatal">; | |
def arch : Separate<["-"], "arch">, Flags<[DriverOption]>; | |
def arch__only : Separate<["-"], "arch_only">; | |
def a : Joined<["-"], "a">; | |
+def autocomplete : Joined<["--"], "autocomplete=">; | |
def bind__at__load : Flag<["-"], "bind_at_load">; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td | |
index d812bd8..4f1ea08 100644 | |
--- a/clang/include/clang/Driver/Options.td | |
+++ b/clang/include/clang/Driver/Options.td | |
@@ -469,6 +469,7 @@ def arch__errors__fatal : Flag<["-"], "arch_errors_fatal">; | |
def arch : Separate<["-"], "arch">, Flags<[DriverOption]>; | |
def arch__only : Separate<["-"], "arch_only">; | |
def a : Joined<["-"], "a">; | |
+def autocomplete : Joined<["--"], "autocomplete=">; | |
def bind__at__load : Flag<["-"], "bind_at_load">; |