[clang] Fix cycle in importing template specialization on auto type with typename (PR #162514)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 8 16:33:47 PDT 2025
================
@@ -4058,7 +4059,13 @@ ExpectedDecl ASTNodeImporter::VisitFunctionDecl(FunctionDecl *D) {
}
Error Err = Error::success();
+ if (!UsedDifferentProtoType) {
----------------
ojhunt wrote:
silly nit: single statement conditionals shouldn't have braces.
https://github.com/llvm/llvm-project/pull/162514
More information about the cfe-commits
mailing list