[cfe-commits] r155244 - in /cfe/trunk: include/clang/Analysis/ include/clang/StaticAnalyzer/Core/ include/clang/StaticAnalyzer/Core/BugReporter/ include/clang/StaticAnalyzer/Core/PathSensitive/ lib/Analysis/ lib/StaticAnalyzer/Core/ test/Analysis/

Erik Verbruggen erikjv at me.com
Mon Apr 30 08:19:48 PDT 2012


On Apr 20, 2012, at 23:59, Anna Zaks wrote:

> -class PostPurgeDeadSymbols : public PostStmt {
> +/// \class Represents a point after we ran remove dead bindings BEFORE
> +/// processing the given statement.
> +class PreStmtPurgeDeadSymbols : public PostStmt {
> +public:
> +  PreStmtPurgeDeadSymbols(const Stmt *S, const LocationContext *L,
> +                       const ProgramPointTag *tag = 0)
> +    : PostStmt(S, PreStmtPurgeDeadSymbolsKind, L, tag) { }

Shouldn't PreStmtPurgeDeadSymbols inherit from PreStmt instead of PostStmt?

-- Erik.




More information about the cfe-commits mailing list