Adding CXX constructor calls support with evalCall event
- Made changes to pass EvalCallOptions via runCheckersForEvalCall into defaultEvalCall.
- Added tests to verify the order.
- Updated the AnalysisOrderChecker to support evalCall for testing
Paths
| Differential D82256
[analyzer] Enable constructor support in evalCall event ClosedPublic Authored by vrnithinkumar on Jun 20 2020, 4:43 AM.
Details Summary Adding CXX constructor calls support with evalCall event
Diff Detail
Unit TestsFailed Event Timelinevrnithinkumar retitled this revision from Enabling ctr in evalCall event to [analyzer] Enabling ctr in evalCall event.Jun 20 2020, 4:48 AM Herald added subscribers: ASDenysPetrov, Charusso, dkrupp and 7 others. · View Herald TranscriptJun 20 2020, 4:48 AM vrnithinkumar added inline comments.
Comment Actions Fantastic, thank you!
This revision is now accepted and ready to land.Jun 20 2020, 8:57 AM vrnithinkumar marked an inline comment as done. Comment ActionsAddressing review comment adding miised new line vrnithinkumar added inline comments. vrnithinkumar marked an inline comment as done. Comment ActionsFixing wrongly deleted the old commit via arc Comment Actions Hmm, given that you're using ARC, you're probably intending to turn the review title/summary into a commit message. Let's make it prettier then:
vrnithinkumar added inline comments.
vrnithinkumar retitled this revision from [analyzer] Enabling ctr in evalCall event to [analyzer] Enable constructor support in evalCall event. Comment Actions Thanks! I'll commit.
Comment Actions
Nithin Vadukkumchery Rajendrakumar <vrnithinkumar@gmail.com> Closed by commit rG37c1bf21d1da: [analyzer] Enable constructor support in evalCall event. (authored by vrnithinkumar, committed by Artem Dergachev <adergachev@apple.com>). · Explain WhyJun 25 2020, 10:14 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 272251 clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
clang/include/clang/StaticAnalyzer/Core/CheckerManager.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
clang/lib/StaticAnalyzer/Checkers/AnalysisOrderChecker.cpp
clang/lib/StaticAnalyzer/Core/CallEvent.cpp
clang/lib/StaticAnalyzer/Core/CheckerManager.cpp
clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
clang/test/Analysis/analyzer-config.c
clang/test/Analysis/cxxctr-evalcall-analysis-order.cpp
clang/test/Analysis/new-ctor-conservative.cpp
|
clang-format not found in user's PATH; not linting file.