Exactly what it says on the tin!
I expect this to be especially valuable on production code where control dependencies aren't obvious.
Paths
| Differential D63642
[analyzer] Add a debug analyzer config to place an event for each tracked condition ClosedPublic Authored by Szelethus on Jun 21 2019, 4:21 AM.
Details
Summary Exactly what it says on the tin! I expect this to be especially valuable on production code where control dependencies aren't obvious.
Diff Detail
Event TimelineHerald added subscribers: cfe-commits, gamesh411, dkrupp and 5 others. · View Herald TranscriptJun 21 2019, 4:21 AM Comment Actions Aha, yep, nice debug flag!
This revision is now accepted and ready to land.Jun 21 2019, 4:17 PM Closed by commit rGb55745606fa6: [analyzer] Add a debug analyzer config to place an event for each tracked… (authored by Szelethus). · Explain WhyJul 5 2019, 7:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 208171 clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
clang/test/Analysis/analyzer-config.c
clang/test/Analysis/track-control-dependency-conditions.cpp
|
Pls consider -verify= here as well.