[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:
Argyrios Kyrtzidis
2014-03-26 00:26:17 +00:00
parent 97c89acb9a
commit f1d14c0911
7 changed files with 69 additions and 26 deletions

View File

@@ -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);