From e33867a43410ea425c169cde9de7187f08264e59 Mon Sep 17 00:00:00 2001 From: Jun Zhang Date: Mon, 25 Apr 2022 12:43:49 +0800 Subject: [PATCH] Fix an issue in comment. NFC I think the author renamed the function but forgot to update the comment. Signed-off-by: Jun Zhang --- clang/lib/Sema/SemaDecl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 250a553c414ea..3f095bc61ebe0 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -5794,7 +5794,7 @@ static bool hasSimilarParameters(ASTContext &Context, return true; } -/// NeedsRebuildingInCurrentInstantiation - Checks whether the given +/// RebuildDeclaratorInCurrentInstantiation - Checks whether the given /// declarator needs to be rebuilt in the current instantiation. /// Any bits of declarator which appear before the name are valid for /// consideration here. That's specifically the type in the decl spec