Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM with a comment:
llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp | ||
---|---|---|
492 | I think it could help future code readers - if the type of "Sections" was made explicit: auto SectionsOrErr = getSectionNames(getPdb()); if (!SectionsOrErr) return SectionsOrErr.takeError(); ArrayRef<std::string> Sections = *SectionsOrErr; dumpSectionContrib(P, Desc.getSectionContrib(), Sections, 0); or just Expected<std::vector<std::string>> Sections = getSectionNames(getPdb()); | |
1846–1850 | Same here. |
I think it could help future code readers - if the type of "Sections" was made explicit:
or just