[clang] 5e0e863 - Fix typo in comment about MSVC sret convention (#168162)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 18 05:01:29 PDT 2026
Author: cqwrteur
Date: 2026-04-18T14:01:24+02:00
New Revision: 5e0e8630dcc91e1efc824088038e944a76dbdfbc
URL: https://github.com/llvm/llvm-project/commit/5e0e8630dcc91e1efc824088038e944a76dbdfbc
DIFF: https://github.com/llvm/llvm-project/commit/5e0e8630dcc91e1efc824088038e944a76dbdfbc.diff
LOG: Fix typo in comment about MSVC sret convention (#168162)
The comment mis-spelled the word convention with convetion.
Added:
Modified:
clang/test/CodeGenCXX/homogeneous-aggregates.cpp
Removed:
################################################################################
diff --git a/clang/test/CodeGenCXX/homogeneous-aggregates.cpp b/clang/test/CodeGenCXX/homogeneous-aggregates.cpp
index 726c4427d34f5..278c19b384c92 100644
--- a/clang/test/CodeGenCXX/homogeneous-aggregates.cpp
+++ b/clang/test/CodeGenCXX/homogeneous-aggregates.cpp
@@ -126,7 +126,7 @@ struct NotPod {
NotCXX14Aggregate x;
};
struct Empty {};
-// A class with a base is returned using the sret calling convetion by MSVC.
+// A class with a base is returned using the sret calling convention by MSVC.
struct HasEmptyBase : public Empty {
double b[2];
};
More information about the cfe-commits
mailing list