Make named opaque types an experimental feature

This commit is contained in:
Doug Gregor
2022-05-26 13:44:08 -07:00
parent a523473315
commit 0de5d7818d
6 changed files with 9 additions and 9 deletions

View File

@@ -4299,7 +4299,7 @@ int main(int argc, char *argv[]) {
InitInvok.getLangOptions().DisableImplicitStringProcessingModuleImport = true;
}
if (options::EnableExperimentalNamedOpaqueTypes) {
InitInvok.getLangOptions().EnableExperimentalNamedOpaqueTypes = true;
InitInvok.getLangOptions().Features.insert(Feature::NamedOpaqueTypes);
}
if (options::EnableExperimentalStringProcessing) {
InitInvok.getLangOptions().EnableExperimentalStringProcessing = true;