forked from OSchip/llvm-project
parent
48324bfd62
commit
c50738f139
|
@ -2230,7 +2230,7 @@ class X86TargetInfo : public TargetInfo {
|
|||
//@}
|
||||
} CPU;
|
||||
|
||||
CPUKind getCPUKind(StringRef CPU) {
|
||||
CPUKind getCPUKind(StringRef CPU) const {
|
||||
return llvm::StringSwitch<CPUKind>(CPU)
|
||||
.Case("i386", CK_i386)
|
||||
.Case("i486", CK_i486)
|
||||
|
|
Loading…
Reference in New Issue