File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -449,7 +449,8 @@ void ExceptionAnalyzer::ExceptionInfo::reevaluateBehaviour() {
449449ExceptionAnalyzer::ExceptionInfo ExceptionAnalyzer::throwsException (
450450 const FunctionDecl *Func, const ExceptionInfo::Throwables &Caught,
451451 llvm::SmallSet<const FunctionDecl *, 32 > &CallStack) {
452- if (!Func || CallStack.contains (Func) || (!CallStack.empty () && !canThrow (Func)))
452+ if (!Func || CallStack.contains (Func) ||
453+ (!CallStack.empty () && !canThrow (Func)))
453454 return ExceptionInfo::createNonThrowing ();
454455
455456 if (const Stmt *Body = Func->getBody ()) {
Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ class ExceptionAnalyzer {
101101 // / Recalculate the 'Behaviour' for example after filtering.
102102 void reevaluateBehaviour ();
103103
104- // / Keep track if the entity related to this 'ExceptionInfo' can in principle
105- // / throw, if it's unknown or if it won't throw.
104+ // / Keep track if the entity related to this 'ExceptionInfo' can in
105+ // / principle throw, if it's unknown or if it won't throw.
106106 State Behaviour;
107107
108108 // / Keep track if the entity contains any unknown elements to keep track
You can’t perform that action at this time.
0 commit comments