@@ -429,7 +429,7 @@ class ExprEngine {
429
429
430
430
DataTag::Factory &getDataTags () { return Engine.getDataTags (); }
431
431
432
- // Functions for external checking of whether we have unfinished work
432
+ // Functions for external checking of whether we have unfinished work.
433
433
bool wasBlocksExhausted () const { return Engine.wasBlocksExhausted (); }
434
434
bool hasEmptyWorkList () const { return !Engine.getWorkList ()->hasWork (); }
435
435
bool hasWorkRemaining () const { return Engine.hasWorkRemaining (); }
@@ -498,19 +498,19 @@ class ExprEngine {
498
498
void VisitInitListExpr (const InitListExpr *E, ExplodedNode *Pred,
499
499
ExplodedNodeSet &Dst);
500
500
501
- // / VisitAttributedStmt - Transfer function logic for AttributedStmt
501
+ // / VisitAttributedStmt - Transfer function logic for AttributedStmt.
502
502
void VisitAttributedStmt (const AttributedStmt *A, ExplodedNode *Pred,
503
503
ExplodedNodeSet &Dst);
504
504
505
- // / VisitLogicalExpr - Transfer function logic for '&&', '||'
505
+ // / VisitLogicalExpr - Transfer function logic for '&&', '||'.
506
506
void VisitLogicalExpr (const BinaryOperator* B, ExplodedNode *Pred,
507
507
ExplodedNodeSet &Dst);
508
508
509
509
// / VisitMemberExpr - Transfer function for member expressions.
510
510
void VisitMemberExpr (const MemberExpr *M, ExplodedNode *Pred,
511
511
ExplodedNodeSet &Dst);
512
512
513
- // / VisitAtomicExpr - Transfer function for builtin atomic expressions
513
+ // / VisitAtomicExpr - Transfer function for builtin atomic expressions.
514
514
void VisitAtomicExpr (const AtomicExpr *E, ExplodedNode *Pred,
515
515
ExplodedNodeSet &Dst);
516
516
@@ -725,7 +725,7 @@ class ExprEngine {
725
725
// / For `int arr[4]` this index can be 0,1,2,3.
726
726
// / For `int arr2[3][3]` this index can be 0,1,...,7,8.
727
727
// / 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.
729
729
SVal computeObjectUnderConstruction (const Expr *E, ProgramStateRef State,
730
730
const NodeBuilderContext *BldrCtx,
731
731
const LocationContext *LCtx,
@@ -806,7 +806,7 @@ class ExprEngine {
806
806
// / should inline, just by looking at the declaration of the function.
807
807
bool mayInlineDecl (AnalysisDeclContext *ADC) const ;
808
808
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.
810
810
bool shouldInlineCall (const CallEvent &Call, const Decl *D,
811
811
const ExplodedNode *Pred,
812
812
const EvalCallOptions &CallOpts = {});
@@ -902,8 +902,8 @@ class ExprEngine {
902
902
ExplodedNodeSet &Dst);
903
903
904
904
public:
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
907
907
// / ExprEngine::VisitObjCForCollectionStmt().
908
908
[[nodiscard]] static ProgramStateRef
909
909
setWhetherHasMoreIteration (ProgramStateRef State,
@@ -967,7 +967,7 @@ class ExprEngine {
967
967
const ConstructionContextItem &Item,
968
968
const LocationContext *LC, SVal V);
969
969
970
- // / Mark the object sa fully constructed, cleaning up the state trait
970
+ // / Mark the object as fully constructed, cleaning up the state trait
971
971
// / that tracks objects under construction.
972
972
static ProgramStateRef
973
973
finishObjectConstruction (ProgramStateRef State,
0 commit comments