@@ -82,7 +82,7 @@ enum class ImportFlags {
82
82
83
83
// / The module is imported assuming that the module itself predates
84
84
// / concurrency.
85
- PredatesConcurrency = 0x20 ,
85
+ Preconcurrency = 0x20 ,
86
86
87
87
// / Used for DenseMap.
88
88
Reserved = 0x80
@@ -550,17 +550,17 @@ struct AttributedImport {
550
550
// / Names of explicitly imported SPI groups.
551
551
ArrayRef<Identifier> spiGroups;
552
552
553
- // / When the import declaration has a `@_predatesConcurrency ` annotation, this
553
+ // / When the import declaration has a `@preconcurrency ` annotation, this
554
554
// / is the source range covering the annotation.
555
- SourceRange predatesConcurrencyRange ;
555
+ SourceRange preconcurrencyRange ;
556
556
557
557
AttributedImport (ModuleInfo module , SourceLoc importLoc = SourceLoc(),
558
558
ImportOptions options = ImportOptions(),
559
559
StringRef filename = {}, ArrayRef<Identifier> spiGroups = {},
560
- SourceRange predatesConcurrencyRange = {})
560
+ SourceRange preconcurrencyRange = {})
561
561
: module (module ), importLoc(importLoc), options(options),
562
562
sourceFileArg (filename), spiGroups(spiGroups),
563
- predatesConcurrencyRange(predatesConcurrencyRange ) {
563
+ preconcurrencyRange(preconcurrencyRange ) {
564
564
assert (!(options.contains (ImportFlags::Exported) &&
565
565
options.contains (ImportFlags::ImplementationOnly)) ||
566
566
options.contains (ImportFlags::Reserved));
@@ -570,7 +570,7 @@ struct AttributedImport {
570
570
AttributedImport (ModuleInfo module , AttributedImport<OtherModuleInfo> other)
571
571
: AttributedImport(module , other.importLoc, other.options,
572
572
other.sourceFileArg, other.spiGroups,
573
- other.predatesConcurrencyRange ) { }
573
+ other.preconcurrencyRange ) { }
574
574
575
575
friend bool operator ==(const AttributedImport<ModuleInfo> &lhs,
576
576
const AttributedImport<ModuleInfo> &rhs) {
0 commit comments