usx95 wrote:

>> The RAV would still need to maintain a Visited set

> Could you elaborate on why?

The CFG can contain sub expressions as individual CFG statements. Later parent 
expressions can again appear as independent CFGStmt. It is not guaranteed that 
all subexpressions of all expr types appear as CFGStmt. So we recursively visit 
each CFGStmt and skip already visited Stmt which might have appeared before in 
CFG.

https://github.com/llvm/llvm-project/pull/153661
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to