[cfe-commits] r125640 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td include/clang/Sema/Sema.h lib/Sema/SemaChecking.cpp lib/Sema/SemaExpr.cpp test/Analysis/out-of-bounds.c test/Sema/array-bounds.c

Chandler Carruth chandlerc at google.com
Thu Feb 17 09:39:41 PST 2011


On Thu, Feb 17, 2011 at 9:36 AM, Chris Lattner <clattner at apple.com> wrote:

> 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.


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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110217/392115aa/attachment.html>


More information about the cfe-commits mailing list