Skip to content
Commit 3427fac7 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Enhance Sema::DiagRuntimeBehavior() to delay some diagnostics to see if the...

Enhance Sema::DiagRuntimeBehavior() to delay some diagnostics to see if the related code is reachable.  This suppresses some
diagnostics that occur in unreachable code (e.g., -Warray-bound).

We only pay the cost of doing the reachability analysis when we issue one of these diagnostics.

llvm-svn: 126290
parent 80861ca9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment