Skip to content

SILOptimizer: make a conversion operation explicit #19300

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

Merged
merged 1 commit into from
Sep 15, 2018

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Sep 13, 2018

Visual Studio objects to the existing construct with:

swift/SILOptimizer/Analysis/ARCAnalysis.h(233): warning C4927: illegal conversion; more than one user-defined conversion has been implicitly applied
swift/SILOptimizer/Analysis/ARCAnalysis.h(233): note: while calling the constructor 'llvm::Optional<llvm::ArrayRef<swift::SILInstruction *>>::Optiona(T &&)'
  with
  [
    T=llvm::ArrayRef<swift::SILInstruction *>
  ]
llvm/ADT/Optional.h(143): note: see declaration of 'llvm::Optional<llvm::ArrayRef<swift::SILInstruction *>>::Optional'

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Visual Studio objects to the existing construct with:

  swift/SILOptimizer/Analysis/ARCAnalysis.h(233): warning C4927: illegal conversion; more than one user-defined conversion has been implicitly applied
  swift/SILOptimizer/Analysis/ARCAnalysis.h(233): note: while calling the constructor 'llvm::Optional<llvm::ArrayRef<swift::SILInstruction *>>::Optiona(T &&)'
	with
	[
	  T=llvm::ArrayRef<swift::SILInstruction *>
	]
  llvm/ADT/Optional.h(143): note: see declaration of 'llvm::Optional<llvm::ArrayRef<swift::SILInstruction *>>::Optional'
@compnerd
Copy link
Member Author

@swift-ci please test and merge

@swift-ci swift-ci merged commit d516c93 into swiftlang:master Sep 15, 2018
@rudkx
Copy link
Contributor

rudkx commented Sep 16, 2018

@benlangmuir
Copy link
Contributor

Reverting in #19345 since this is breaking the CI build on Ubuntu 14.04.

@compnerd compnerd deleted the explicit-implicit-conversion branch December 11, 2018 17:09
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.

5 participants