@@ -429,7 +429,7 @@ class ExprEngine {
429429
430430 DataTag::Factory &getDataTags () { return Engine.getDataTags (); }
431431
432- // Functions for external checking of whether we have unfinished work
432+ // Functions for external checking of whether we have unfinished work.
433433 bool wasBlocksExhausted () const { return Engine.wasBlocksExhausted (); }
434434 bool hasEmptyWorkList () const { return !Engine.getWorkList ()->hasWork (); }
435435 bool hasWorkRemaining () const { return Engine.hasWorkRemaining (); }
@@ -498,19 +498,19 @@ class ExprEngine {
498498 void VisitInitListExpr (const InitListExpr *E, ExplodedNode *Pred,
499499 ExplodedNodeSet &Dst);
500500
501- // / VisitAttributedStmt - Transfer function logic for AttributedStmt
501+ // / VisitAttributedStmt - Transfer function logic for AttributedStmt.
502502 void VisitAttributedStmt (const AttributedStmt *A, ExplodedNode *Pred,
503503 ExplodedNodeSet &Dst);
504504
505- // / VisitLogicalExpr - Transfer function logic for '&&', '||'
505+ // / VisitLogicalExpr - Transfer function logic for '&&', '||'.
506506 void VisitLogicalExpr (const BinaryOperator* B, ExplodedNode *Pred,
507507 ExplodedNodeSet &Dst);
508508
509509 // / VisitMemberExpr - Transfer function for member expressions.
510510 void VisitMemberExpr (const MemberExpr *M, ExplodedNode *Pred,
511511 ExplodedNodeSet &Dst);
512512
513- // / VisitAtomicExpr - Transfer function for builtin atomic expressions
513+ // / VisitAtomicExpr - Transfer function for builtin atomic expressions.
514514 void VisitAtomicExpr (const AtomicExpr *E, ExplodedNode *Pred,
515515 ExplodedNodeSet &Dst);
516516
@@ -725,7 +725,7 @@ class ExprEngine {
725725 // / For `int arr[4]` this index can be 0,1,2,3.
726726 // / For `int arr2[3][3]` this index can be 0,1,...,7,8.
727727 // / A multi-dimensional array is also a continuous memory location in a
728- // / row major order, so for arr[0][0] Idx is 0 and for arr[2][2 ] Idx is 8.
728+ // / row major order, so for arr[0][0] Idx is 0 and for arr[3][3 ] Idx is 8.
729729 SVal computeObjectUnderConstruction (const Expr *E, ProgramStateRef State,
730730 const NodeBuilderContext *BldrCtx,
731731 const LocationContext *LCtx,
@@ -806,7 +806,7 @@ class ExprEngine {
806806 // / should inline, just by looking at the declaration of the function.
807807 bool mayInlineDecl (AnalysisDeclContext *ADC) const ;
808808
809- // / Checks our policies and decides weither the given call should be inlined.
809+ // / Checks our policies and decides whether the given call should be inlined.
810810 bool shouldInlineCall (const CallEvent &Call, const Decl *D,
811811 const ExplodedNode *Pred,
812812 const EvalCallOptions &CallOpts = {});
@@ -902,8 +902,8 @@ class ExprEngine {
902902 ExplodedNodeSet &Dst);
903903
904904public:
905- // / Note whether this loop has any more iteratios to model. These methods are
906- // / essentially an interface for a GDM trait. Further reading in
905+ // / Note whether this loop has any more iterations to model. These methods
906+ // are essentially an interface for a GDM trait. Further reading in
907907 // / ExprEngine::VisitObjCForCollectionStmt().
908908 [[nodiscard]] static ProgramStateRef
909909 setWhetherHasMoreIteration (ProgramStateRef State,
@@ -967,7 +967,7 @@ class ExprEngine {
967967 const ConstructionContextItem &Item,
968968 const LocationContext *LC, SVal V);
969969
970- // / Mark the object sa fully constructed, cleaning up the state trait
970+ // / Mark the object as fully constructed, cleaning up the state trait
971971 // / that tracks objects under construction.
972972 static ProgramStateRef
973973 finishObjectConstruction (ProgramStateRef State,
0 commit comments