File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -251,12 +251,12 @@ std::string stringify(T &&t) {
251251 apply (std::forward<T>(t));
252252}
253253
254- // / Helper to generate a C++ streaming error messages from a given message.
254+ // / Helper to generate a C++ streaming error message from a given message.
255255// / Message can contain '{{...}}' placeholders that are substituted with
256256// / C-expressions via tgfmt. It would effectively convert:
257- // / "Failed to verify {{foo}}"
257+ // / "failed to verify {{foo}}"
258258// / into:
259- // / "Failed to verify " << tgfmt(foo, &ctx)
259+ // / "failed to verify " << tgfmt(foo, &ctx)
260260std::string buildErrorStreamingString (
261261 StringRef message, const FmtContext &ctx,
262262 ErrorStreamType errorStreamType = ErrorStreamType::InString);
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ std::string mlir::tblgen::buildErrorStreamingString(
165165 if (split.second .empty () &&
166166 errorStreamType == ErrorStreamType::InsideOpError) {
167167 // To enable having part of string post, this adds a parenthesis before
168- // the last string segment to match the exiting one.
168+ // the last string segment to match the existing one.
169169 os << " << (\" " << split.first ;
170170 } else {
171171 os << " << \" " << split.first ;
You can’t perform that action at this time.
0 commit comments