================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits