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 0366e61 commit 20d3afcCopy full SHA for 20d3afc
lib/Frontend/DiagnosticVerifier.cpp
@@ -589,10 +589,10 @@ DiagnosticVerifier::Result DiagnosticVerifier::verifyFile(unsigned BufferID) {
589
-> ActualFixitsPhrase {
590
std::string actualFixitsStr = renderFixits(actualFixits, InputFile);
591
592
- auto phrase = Twine("actual fix-it") +
593
- (actualFixits.size() >= 2 ? "s" : "") +
594
- " seen: " + actualFixitsStr;
595
- return ActualFixitsPhrase{phrase.str(), actualFixitsStr};
+ return ActualFixitsPhrase{(Twine("actual fix-it") +
+ (actualFixits.size() >= 2 ? "s" : "") +
+ " seen: " + actualFixitsStr).str(),
+ actualFixitsStr};
596
};
597
598
auto emitFixItsError = [&](const char *location, const Twine &message,
0 commit comments