[all-commits] [llvm/llvm-project] 8c5ca7: [analyzer] OSObjectCStyleCast: Improve warning mes...
NoQ via All-commits
all-commits at lists.llvm.org
Thu Dec 10 19:51:51 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8c5ca7c6e62c203b9642dca2a1d9118c36777ad5
https://github.com/llvm/llvm-project/commit/8c5ca7c6e62c203b9642dca2a1d9118c36777ad5
Author: Artem Dergachev <artem.dergachev at gmail.com>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/OSObjectCStyleCast.cpp
M clang/test/Analysis/osobjectcstylecastchecker_test.cpp
Log Message:
-----------
[analyzer] OSObjectCStyleCast: Improve warning message.
Suggest OSRequiredCast as a closer alternative to C-style cast.
Explain how to decide.
More information about the All-commits
mailing list