<div class="gmail_quote">On Thu, Feb 17, 2011 at 9:36 AM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com">clattner@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm fine with that in this case, the problem is that we have other warnings that get emitted in dead branches of ?: expressions etc, which occur due to macro expansion.</blockquote></div><br><div>Those should likely be moved into the AnalysisBasedWarnings system that provides a minimal CFG etc. (or that infrastructure should be made more generally available to the rest of Sema to leverage when emitting diagnostics, not sure how Ted would prefer to layer and connect these components)</div>