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.
2 parents 6b9dd23 + 20d3afc commit 4560817Copy full SHA for 4560817
lib/Frontend/DiagnosticVerifier.cpp
@@ -644,10 +644,10 @@ DiagnosticVerifier::Result DiagnosticVerifier::verifyFile(unsigned BufferID) {
644
-> ActualFixitsPhrase {
645
std::string actualFixitsStr = renderFixits(actualFixits, InputFile);
646
647
- auto phrase = Twine("actual fix-it") +
648
- (actualFixits.size() >= 2 ? "s" : "") +
649
- " seen: " + actualFixitsStr;
650
- return ActualFixitsPhrase{phrase.str(), actualFixitsStr};
+ return ActualFixitsPhrase{(Twine("actual fix-it") +
+ (actualFixits.size() >= 2 ? "s" : "") +
+ " seen: " + actualFixitsStr).str(),
+ actualFixitsStr};
651
};
652
653
auto emitFixItsError = [&](const char *location, const Twine &message,
0 commit comments