Skip to content

Commit 786def1

Browse files
Fix misspelling
1 parent 959ff88 commit 786def1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/ASTImporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4074,7 +4074,7 @@ ExpectedDecl ASTNodeImporter::VisitFunctionDecl(FunctionDecl *D) {
40744074
// To avoid an infinite recursion when importing, create the FunctionDecl
40754075
// with a simplified return type.
40764076
// Reuse this approach for auto return types declared as typenames from
4077-
// template pamams, tracked in FunctionReturnTypeCycleDetector.
4077+
// template params, tracked in FunctionReturnTypeCycleDetector.
40784078
if (hasReturnTypeDeclaredInside(D) ||
40794079
Importer.FunctionReturnTypeCycleDetector->isCycle(D)) {
40804080
FromReturnTy = Importer.getFromContext().VoidTy;

0 commit comments

Comments
 (0)