Author: Kazu Hirata Date: 2022-01-12T22:11:59-08:00 New Revision: 728c77dbb352aa66fede50b41c24cb4e0a44e52e
URL: https://github.com/llvm/llvm-project/commit/728c77dbb352aa66fede50b41c24cb4e0a44e52e DIFF: https://github.com/llvm/llvm-project/commit/728c77dbb352aa66fede50b41c24cb4e0a44e52e.diff LOG: [Sema] Fix a bugprone argument comment (NFC) Identified with bugprone-argument-comment. Added: Modified: clang/lib/Sema/SemaTemplateDeduction.cpp Removed: ################################################################################ diff --git a/clang/lib/Sema/SemaTemplateDeduction.cpp b/clang/lib/Sema/SemaTemplateDeduction.cpp index 22dd395d99439..8e1f1d294d6ec 100644 --- a/clang/lib/Sema/SemaTemplateDeduction.cpp +++ b/clang/lib/Sema/SemaTemplateDeduction.cpp @@ -5355,7 +5355,7 @@ static bool isAtLeastAsSpecializedAs(Sema &S, QualType T1, QualType T2, bool AtLeastAsSpecialized; S.runWithSufficientStackSpace(Info.getLocation(), [&] { AtLeastAsSpecialized = !FinishTemplateArgumentDeduction( - S, P2, /*IsPartialOrdering=*/true, + S, P2, /*PartialOrdering=*/true, TemplateArgumentList(TemplateArgumentList::OnStack, TST1->template_arguments()), Deduced, Info); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits