Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Objective-C Support to ClangModules #360

Merged
merged 1 commit into from
May 21, 2016

Conversation

aciidgh
Copy link
Contributor

@aciidgh aciidgh commented May 20, 2016

No description provided.

@aciidgh aciidgh force-pushed the objc-support branch 3 times, most recently from c88c84c to b1f455b Compare May 20, 2016 19:41
@aciidgh aciidgh mentioned this pull request May 20, 2016
}

extension ModuleTypeProtocol {
public var type: ModuleType {
let isLibrary = !sources.relativePaths.contains { path in
path.basename.lowercased() == mainFile
mainFiles.contains(path.basename.lowercased())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we could just look for a file in the sources named "main." instead of needing to duplicate the list of all types?

@aciidgh
Copy link
Contributor Author

aciidgh commented May 21, 2016

Updated
@swift-ci please test

@ddunbar
Copy link
Contributor

ddunbar commented May 21, 2016

LGTM

@ddunbar ddunbar merged commit ac7bd16 into swiftlang:master May 21, 2016
@aciidgh aciidgh deleted the objc-support branch May 21, 2016 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants