[all-commits] [llvm/llvm-project] 6f1e3c: [alpha.webkit.UncountedLocalVarsChecker] Ignore a ...
Ryosuke Niwa via All-commits
all-commits at lists.llvm.org
Fri Dec 12 15:00:59 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f1e3c396812dfc4b6fe3b77f10edf3b00aa8496
https://github.com/llvm/llvm-project/commit/6f1e3c396812dfc4b6fe3b77f10edf3b00aa8496
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2025-12-12 (Fri, 12 Dec 2025)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLocalVarsChecker.cpp
M clang/test/Analysis/Checkers/WebKit/local-vars-checked-const-member.cpp
M clang/test/Analysis/Checkers/WebKit/local-vars-counted-const-member.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
Log Message:
-----------
[alpha.webkit.UncountedLocalVarsChecker] Ignore a VarDecl in "if" with trivial "then" (#171764)
Don't emit a warning when a variable declaration appears within the "if"
condition and if its "then" statement is trivial.
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