const-ify X86TargetInfo::getCPUKind.

llvm-svn: 246127
This commit is contained in:
Eric Christopher 2015-08-27 00:05:50 +00:00
parent 48324bfd62
commit c50738f139
1 changed files with 1 additions and 1 deletions

View File

@ -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)