We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43d28dc commit e61817aCopy full SHA for e61817a
clang/lib/Analysis/LifetimeSafety.cpp
@@ -396,6 +396,7 @@ class FactGenerator : public ConstStmtVisitor<FactGenerator> {
396
// initializations and destructions are processed in the correct sequence.
397
for (const CFGBlock *Block : *AC.getAnalysis<PostOrderCFGView>()) {
398
CurrentBlockFacts.clear();
399
+ VisitedStmts.clear();
400
for (unsigned I = 0; I < Block->size(); ++I) {
401
const CFGElement &Element = Block->Elements[I];
402
if (std::optional<CFGStmt> CS = Element.getAs<CFGStmt>()) {
0 commit comments