Skip to content

Commit bed6511

Browse files
committed
Fix review comments
1 parent 2e7c4e7 commit bed6511

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

clang/lib/Analysis/CFG.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ reverse_children::reverse_children(Stmt *S, ASTContext &Ctx) {
459459
}
460460

461461
case Stmt::AttributedStmtClass: {
462-
// for an attributed stmt, the "children()" returns only the NullStmt
462+
// For an attributed stmt, the "children()" returns only the NullStmt
463463
// (;) but semantically the "children" are supposed to be the
464464
// expressions _within_ i.e. the two square brackets i.e. [[ HERE ]]
465465
// so we add the subexpressions first, _then_ add the "children"

clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,6 @@ void ExprEngine::VisitGuardedExpr(const Expr *Ex,
796796

797797
// Find the predecessor block.
798798
ProgramStateRef SrcState = state;
799-
800799
for (const ExplodedNode *N = Pred ; N ; N = *N->pred_begin()) {
801800
auto Edge = N->getLocationAs<BlockEdge>();
802801
if (!Edge.has_value()) {

0 commit comments

Comments
 (0)