Skip to content

Commit a41b032

Browse files
committed
Rebase & address review comments
1 parent 83da7e2 commit a41b032

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mlir/include/mlir/TableGen/CodeGenHelpers.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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)
260260
std::string buildErrorStreamingString(
261261
StringRef message, const FmtContext &ctx,
262262
ErrorStreamType errorStreamType = ErrorStreamType::InString);

mlir/lib/TableGen/CodeGenHelpers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)