This patch is more of a fix than a real improvement: in checkPostCall() we should return immediately after finding the right call and handling it. This both saves unnecessary processing and double-handling calls by mistake.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
Thx, this is safer!
lib/StaticAnalyzer/Checkers/IteratorChecker.cpp | ||
---|---|---|
566 | CXXMethodDecl has a lot of fancy getters on it, such as isMoveAssignmentOperator(). |
CXXMethodDecl has a lot of fancy getters on it, such as isMoveAssignmentOperator().