[clang] [C23] Implement WG14 N3037 (PR #132939)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 7 09:56:21 PDT 2025
================
@@ -11399,6 +11400,22 @@ static QualType mergeEnumWithInteger(ASTContext &Context, const EnumType *ET,
return {};
}
+QualType ASTContext::mergeTagTypes(QualType LHS, QualType RHS) {
----------------
AaronBallman wrote:
I'm following the naming convention already used by other helpers: `mergeExceptionSpecs`. `mergeFunctionTypes`, `mergeFunctionParameterTypes`, and so on. The intent is that this will eventually do actual merging logic (so the name is reasonable), but even for right now, you either get the "merged" type (which is either `LHS` or `RHS`) or you get `QualType{}`. WDYT?
https://github.com/llvm/llvm-project/pull/132939
More information about the cfe-commits
mailing list