mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix up various references to renamed/moved enums
A bunch of enums were moved to enum classes and slightly renamed. Fix up their references.
This commit is contained in:
@@ -114,11 +114,11 @@ static llvm::cl::opt<std::string> PassPipeline(
|
||||
// Helper Methods
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
static llvm::CodeGenOpt::Level GetCodeGenOptLevel(const SwiftLLVMOptOptions &options) {
|
||||
static llvm::CodeGenOptLevel GetCodeGenOptLevel(const SwiftLLVMOptOptions &options) {
|
||||
// TODO: Is this the right thing to do here?
|
||||
if (options.Optimized)
|
||||
return llvm::CodeGenOpt::Default;
|
||||
return llvm::CodeGenOpt::None;
|
||||
return llvm::CodeGenOptLevel::Default;
|
||||
return llvm::CodeGenOptLevel::None;
|
||||
}
|
||||
|
||||
// Returns the TargetMachine instance or zero if no triple is provided.
|
||||
|
||||
Reference in New Issue
Block a user