[PATCH] D39538: [llvm-ar] Support an options string that start with a dash

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 11:33:03 PDT 2017


Martin Storsjö <martin at martin.st> writes:

>> Ah, could you use StringRef's ==? That should make it clear that it is
>> not checking a prefix.
>
> Ok, like StringRef(argv[i]) == "--"?

Yes.

Thanks,
Rafael


More information about the llvm-commits mailing list