[PATCH] D15090: [Static Analyzer] New checker hook: checkInitialState

2017-03-03 Thread Gábor Horváth via Phabricator via cfe-commits
xazax.hun added a comment. In the meantime CheckBeginFunction has been implemented separately. I think you should "abandon" this revision so it is shown as closed. https://reviews.llvm.org/D15090 ___ cfe-commits mailing list cfe-commits@lists.llvm.

Re: [PATCH] D15090: [Static Analyzer] New checker hook: checkInitialState

2015-12-01 Thread Artem Dergachev via cfe-commits
NoQ added a subscriber: NoQ. NoQ added a comment. Yeah, that's what i had in mind. Additionally, `Decl` can be obtained as `Context.getStackFrame().getDecl()` (and in fact the `getStackFrame()` thing itself is of interest as well), so there's no need to pass it as an extra argument. On the othe

[PATCH] D15090: [Static Analyzer] New checker hook: checkInitialState

2015-11-30 Thread Gábor Kozár via cfe-commits
shdnx created this revision. shdnx added reviewers: zaks.anna, jordan_rose. shdnx added a subscriber: cfe-commits. Adds a new analyzer hook: ``` ProgramStateRef checkInitialState(const EntryPointInfo& EPInfo) /* non-const */; ``` This allows checkers to act on entry points, set up their initial