forked from OSchip/llvm-project
static analyzer: Handle 'ExprWithCleanups' in ExprEngine by essentially ignoring them.
llvm-svn: 127523
This commit is contained in:
parent
dae1dc1f01
commit
97474f7414
|
@ -424,7 +424,6 @@ void ExprEngine::Visit(const Stmt* S, ExplodedNode* Pred,
|
|||
case Stmt::CXXCatchStmtClass:
|
||||
case Stmt::CXXDefaultArgExprClass:
|
||||
case Stmt::CXXDependentScopeMemberExprClass:
|
||||
case Stmt::ExprWithCleanupsClass:
|
||||
case Stmt::CXXNullPtrLiteralExprClass:
|
||||
case Stmt::CXXPseudoDestructorExprClass:
|
||||
case Stmt::CXXTemporaryObjectExprClass:
|
||||
|
@ -507,6 +506,7 @@ void ExprEngine::Visit(const Stmt* S, ExplodedNode* Pred,
|
|||
case Stmt::IntegerLiteralClass:
|
||||
case Stmt::CharacterLiteralClass:
|
||||
case Stmt::CXXBoolLiteralExprClass:
|
||||
case Stmt::ExprWithCleanupsClass:
|
||||
case Stmt::FloatingLiteralClass:
|
||||
case Stmt::SizeOfPackExprClass:
|
||||
Dst.Add(Pred); // No-op. Simply propagate the current state unchanged.
|
||||
|
|
Loading…
Reference in New Issue