We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22bc029 commit 09d945dCopy full SHA for 09d945d
llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
@@ -541,9 +541,9 @@ struct MCDCRecord {
541
542
std::string getConditionHeaderString(unsigned Condition) {
543
std::ostringstream OS;
544
- OS << "Condition C" << Condition + 1 << " --> (";
545
- OS << CondLoc[Condition].first << ":" << CondLoc[Condition].second;
546
- OS << ")\n";
+ const auto &[Line, Col] = CondLoc[Condition];
+ OS << "Condition C" << Condition + 1 << " --> (" << Line << ":" << Col
+ << ")\n";
547
return OS.str();
548
}
549
0 commit comments