mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2026-07-18 04:58:27 -04:00
[llvm] Remove redundant string initialization (NFC)
Identified with readability-redundant-string-init.
This commit is contained in:
@@ -917,7 +917,7 @@ MCSection *TargetLoweringObjectFileELF::getSectionForMachineBasicBlock(
|
||||
}
|
||||
|
||||
unsigned Flags = ELF::SHF_ALLOC | ELF::SHF_EXECINSTR;
|
||||
std::string GroupName = "";
|
||||
std::string GroupName;
|
||||
if (F.hasComdat()) {
|
||||
Flags |= ELF::SHF_GROUP;
|
||||
GroupName = F.getComdat()->getName().str();
|
||||
|
||||
Reference in New Issue
Block a user