[all-commits] [llvm/llvm-project] 96ec9b: [Analyzer] ConversionChecker: track back the cast ...
Gabor Marton via All-commits
all-commits at lists.llvm.org
Thu Sep 16 03:00:24 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 96ec9b6ff2f0bb9078306e3857f09974603ccbe4
https://github.com/llvm/llvm-project/commit/96ec9b6ff2f0bb9078306e3857f09974603ccbe4
Author: Gabor Marton <gabor.marton at ericsson.com>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/ConversionChecker.cpp
A clang/test/Analysis/conversion-tracking-notes.c
M clang/test/Analysis/conversion.c
Log Message:
-----------
[Analyzer] ConversionChecker: track back the cast expression
Adding trackExpressionValue to the checker so it tracks the value of the
implicit cast's DeclRefExpression up to initialization/assignment. This
way the report becomes cleaner.
Differential Revision: https://reviews.llvm.org/D109836
More information about the All-commits
mailing list