unsigned Line;
unsigned Count;
- TargetRegionEntryInfo()
- : ParentName(""), DeviceID(0), FileID(0), Line(0), Count(0) {}
+ TargetRegionEntryInfo() : DeviceID(0), FileID(0), Line(0), Count(0) {}
TargetRegionEntryInfo(StringRef ParentName, unsigned DeviceID,
unsigned FileID, unsigned Line, unsigned Count = 0)
: ParentName(ParentName), DeviceID(DeviceID), FileID(FileID), Line(Line),
if (Full && Entries) {
bool CodeViewLocation = getParentSymbol()->getHasCodeViewLocation();
std::stringstream Stream;
- std::string Leading = "";
+ std::string Leading;
for (LVOperation *Operation : *Entries) {
Stream << Leading
<< (CodeViewLocation ? Operation->getOperandsCodeViewInfo()
std::unique_ptr<LLVMTargetMachine> createTargetMachine() {
auto TT(Triple::normalize("wasm32-unknown-unknown"));
- std::string CPU("");
- std::string FS("");
+ std::string CPU;
+ std::string FS;
LLVMInitializeWebAssemblyTargetInfo();
LLVMInitializeWebAssemblyTarget();