@@ -173,7 +173,7 @@ StringRef sys::detail::getHostCPUNameForARM(StringRef ProcCpuinfoContent) {
173
173
// Read 32 lines from /proc/cpuinfo, which should contain the CPU part line
174
174
// in all cases.
175
175
SmallVector<StringRef, 32 > Lines;
176
- ProcCpuinfoContent.split (Lines, " \n " );
176
+ ProcCpuinfoContent.split (Lines, ' \n ' );
177
177
178
178
// Look for the CPU implementer line.
179
179
StringRef Implementer;
@@ -436,7 +436,7 @@ StringRef sys::detail::getHostCPUNameForS390x(StringRef ProcCpuinfoContent) {
436
436
// The "processor 0:" line comes after a fair amount of other information,
437
437
// including a cache breakdown, but this should be plenty.
438
438
SmallVector<StringRef, 32 > Lines;
439
- ProcCpuinfoContent.split (Lines, " \n " );
439
+ ProcCpuinfoContent.split (Lines, ' \n ' );
440
440
441
441
// Look for the CPU features.
442
442
SmallVector<StringRef, 32 > CPUFeatures;
@@ -478,7 +478,7 @@ StringRef sys::detail::getHostCPUNameForS390x(StringRef ProcCpuinfoContent) {
478
478
StringRef sys::detail::getHostCPUNameForRISCV (StringRef ProcCpuinfoContent) {
479
479
// There are 24 lines in /proc/cpuinfo
480
480
SmallVector<StringRef> Lines;
481
- ProcCpuinfoContent.split (Lines, " \n " );
481
+ ProcCpuinfoContent.split (Lines, ' \n ' );
482
482
483
483
// Look for uarch line to determine cpu name
484
484
StringRef UArch;
@@ -1630,7 +1630,7 @@ StringRef sys::getHostCPUName() {
1630
1630
#if defined(__linux__)
1631
1631
StringRef sys::detail::getHostCPUNameForSPARC (StringRef ProcCpuinfoContent) {
1632
1632
SmallVector<StringRef> Lines;
1633
- ProcCpuinfoContent.split (Lines, " \n " );
1633
+ ProcCpuinfoContent.split (Lines, ' \n ' );
1634
1634
1635
1635
// Look for cpu line to determine cpu name
1636
1636
StringRef Cpu;
@@ -1970,7 +1970,7 @@ const StringMap<bool> sys::getHostCPUFeatures() {
1970
1970
return Features;
1971
1971
1972
1972
SmallVector<StringRef, 32 > Lines;
1973
- P->getBuffer ().split (Lines, " \n " );
1973
+ P->getBuffer ().split (Lines, ' \n ' );
1974
1974
1975
1975
SmallVector<StringRef, 32 > CPUFeatures;
1976
1976
0 commit comments