|
@@ -3183,7 +3183,7 @@ void Sema::CodeCompleteModuleImport(SourceLocation ImportLoc,
|
|
Builder.getAllocator().CopyString(Modules[I]->Name));
|
|
Builder.getAllocator().CopyString(Modules[I]->Name));
|
|
Results.AddResult(Result(Builder.TakeString(),
|
|
Results.AddResult(Result(Builder.TakeString(),
|
|
CCP_Declaration,
|
|
CCP_Declaration,
|
|
- CXCursor_NotImplemented,
|
|
|
|
|
|
+ CXCursor_ModuleImportDecl,
|
|
Modules[I]->isAvailable()
|
|
Modules[I]->isAvailable()
|
|
? CXAvailability_Available
|
|
? CXAvailability_Available
|
|
: CXAvailability_NotAvailable));
|
|
: CXAvailability_NotAvailable));
|
|
@@ -3203,7 +3203,7 @@ void Sema::CodeCompleteModuleImport(SourceLocation ImportLoc,
|
|
Builder.getAllocator().CopyString((*Sub)->Name));
|
|
Builder.getAllocator().CopyString((*Sub)->Name));
|
|
Results.AddResult(Result(Builder.TakeString(),
|
|
Results.AddResult(Result(Builder.TakeString(),
|
|
CCP_Declaration,
|
|
CCP_Declaration,
|
|
- CXCursor_NotImplemented,
|
|
|
|
|
|
+ CXCursor_ModuleImportDecl,
|
|
(*Sub)->isAvailable()
|
|
(*Sub)->isAvailable()
|
|
? CXAvailability_Available
|
|
? CXAvailability_Available
|
|
: CXAvailability_NotAvailable));
|
|
: CXAvailability_NotAvailable));
|