mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Implement and document prefix options with arbitrary values including an
= sign. This needed to support -DNAME=value options as pass-through in llvmc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18203 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -397,7 +397,7 @@ void cl::ParseCommandLineOptions(int &argc, char **argv,
|
||||
Handler = LookupOption(ArgName, Value);
|
||||
|
||||
// Check to see if this "option" is really a prefixed or grouped argument.
|
||||
if (Handler == 0 && *Value == 0) {
|
||||
if (Handler == 0) {
|
||||
std::string RealName(ArgName);
|
||||
if (RealName.size() > 1) {
|
||||
unsigned Length = 0;
|
||||
|
||||
Reference in New Issue
Block a user