We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 959ff88 commit 786def1Copy full SHA for 786def1
clang/lib/AST/ASTImporter.cpp
@@ -4074,7 +4074,7 @@ ExpectedDecl ASTNodeImporter::VisitFunctionDecl(FunctionDecl *D) {
4074
// To avoid an infinite recursion when importing, create the FunctionDecl
4075
// with a simplified return type.
4076
// Reuse this approach for auto return types declared as typenames from
4077
- // template pamams, tracked in FunctionReturnTypeCycleDetector.
+ // template params, tracked in FunctionReturnTypeCycleDetector.
4078
if (hasReturnTypeDeclaredInside(D) ||
4079
Importer.FunctionReturnTypeCycleDetector->isCycle(D)) {
4080
FromReturnTy = Importer.getFromContext().VoidTy;
0 commit comments