Skip to content
  • Jordy Rose's avatar
    [analyzer] Introduce clang_analyzer_eval for regression test constraint checks. · 31ae259a
    Jordy Rose authored
    The new debug.ExprInspection checker looks for calls to clang_analyzer_eval,
    and emits a warning of TRUE, FALSE, or UNKNOWN (or UNDEFINED) based on the
    constrained value of its (boolean) argument. It does not modify the analysis
    state though the conditions tested can result in branches (e.g. through the
    use of short-circuit operators).
    
    llvm-svn: 156919
    31ae259a
Loading