[all-commits] [llvm/llvm-project] 377d1f: UncountedLocalVarsChecker and UncheckedLocalVarsCh...
Ryosuke Niwa via All-commits
all-commits at lists.llvm.org
Tue Dec 10 15:58:20 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 377d1f0a6b862183b25701cc765fca7f84ea8e32
https://github.com/llvm/llvm-project/commit/377d1f0a6b862183b25701cc765fca7f84ea8e32
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-12-10 (Tue, 10 Dec 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLocalVarsChecker.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
Log Message:
-----------
UncountedLocalVarsChecker and UncheckedLocalVarsChecker should recognize signletons. (#119339)
It's safe to have a raw pointer or a raw reference to a singleton
object. Explicitly allow this in UncountedLocalVarsChecker and
UncheckedLocalVarsChecker.
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