File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -4837,6 +4837,7 @@ bool ASTContext::isTypeBridgedInExternalModule(
4837
4837
// bridging implementations of CG types appear in the Foundation
4838
4838
// module.
4839
4839
nominal->getParentModule ()->getName () == Id_CoreGraphics ||
4840
+ nominal->getParentModule ()->getName () == Id_CoreFoundation ||
4840
4841
// CoreMedia is a dependency of AVFoundation, but the bridged
4841
4842
// NSValue implementations for CMTime, CMTimeRange, and
4842
4843
// CMTimeMapping are provided by AVFoundation, and AVFoundation
Original file line number Diff line number Diff line change @@ -826,7 +826,8 @@ bool TypeBase::isCGFloatType() {
826
826
// On macOS `CGFloat` is part of a `CoreGraphics` module,
827
827
// but on Linux it could be found in `Foundation`.
828
828
return (module ->getName ().is (" CoreGraphics" ) ||
829
- module ->getName ().is (" Foundation" )) &&
829
+ module ->getName ().is (" Foundation" ) ||
830
+ module ->getName ().is (" CoreFoundation" )) &&
830
831
NTD->getName ().is (" CGFloat" );
831
832
}
832
833
You can’t perform that action at this time.
0 commit comments