[all-commits] [llvm/llvm-project] a7e531: [alpha.webkit.UncheckedCallArgsChecker] Checker fa...
Ryosuke Niwa via All-commits
all-commits at lists.llvm.org
Thu Apr 24 13:15:48 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a7e53124eb1376b0f04a1f6d7d40a596532905b6
https://github.com/llvm/llvm-project/commit/a7e53124eb1376b0f04a1f6d7d40a596532905b6
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2025-04-24 (Thu, 24 Apr 2025)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
A clang/test/Analysis/Checkers/WebKit/unchecked-call-arg.cpp
Log Message:
-----------
[alpha.webkit.UncheckedCallArgsChecker] Checker fails to recognize CanMakeCheckedPtrBase (#136500)
This PR fixes the bug that alpha.webkit.UncheckedCallArgsChecker did not
recognize CanMakeCheckedPtrBase due to getAsCXXRecordDecl returning
nullptr for it in hasPublicMethodInBase. Manually grab getTemplatedDecl
out of TemplateSpecializationType then CXXRecordDecl to workaround this
bug in clang frontend.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list