mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Basic/LangOptions] Remove std::unordered_map/unordered_set from LangOptions and use SmallVector instead.
The config options are so few that a map is not worth it currently. Swift SVN r15476
This commit is contained in:
@@ -529,7 +529,7 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
|
||||
for (const Arg *A : make_range(Args.filtered_begin(OPT_D),
|
||||
Args.filtered_end())) {
|
||||
Opts.setBuildConfig(A->getValue());
|
||||
Opts.addBuildConfigOption(A->getValue());
|
||||
}
|
||||
|
||||
Opts.EnableObjCOptional = Args.hasArg(OPT_enable_objc_optional);
|
||||
|
||||
Reference in New Issue
Block a user