mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
smallvectorize getExtraOptionNames
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82377 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -108,8 +108,7 @@ void Option::addArgument() {
|
||||
static void GetOptionInfo(SmallVectorImpl<Option*> &PositionalOpts,
|
||||
SmallVectorImpl<Option*> &SinkOpts,
|
||||
StringMap<Option*> &OptionsMap) {
|
||||
// FIXME: SmallVectorize.
|
||||
std::vector<const char*> OptionNames;
|
||||
SmallVector<const char*, 16> OptionNames;
|
||||
Option *CAOpt = 0; // The ConsumeAfter option if it exists.
|
||||
for (Option *O = RegisteredOptionList; O; O = O->getNextRegisteredOption()) {
|
||||
// If this option wants to handle multiple option names, get the full set.
|
||||
|
||||
Reference in New Issue
Block a user