This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] [NFC] Factor out generating path diagnostics for a statement into a function
ClosedPublic

Authored by george.karpenkov on Jan 25 2018, 2:57 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

george.karpenkov edited the summary of this revision. (Show Details)
NoQ added a comment.Jan 26 2018, 4:07 PM

Is the new function usable for other diagnostic generators? Or should we call it generateMinimalDiagnosticsForStmt()?

@NoQ a good point, extended refactoring across all diagnostics types.

NoQ accepted this revision.Feb 6 2018, 12:16 PM

Yeah, that's a lot less loops to worry about.

This revision is now accepted and ready to land.Feb 6 2018, 12:16 PM
This revision was automatically updated to reflect the committed changes.