Skip to content
  • Jordy Rose's avatar
    43a9af73
    [analyzer] Restart path diagnostic generation if any of the visitors change... · 43a9af73
    Jordy Rose authored
    [analyzer] Restart path diagnostic generation if any of the visitors change the report configuration while walking the path.
    
    This required adding a change count token to BugReport, but also allowed us to ditch ImmutableList as the BugReporterVisitor data type.
    
    Also, remove the hack from MallocChecker, now that visitors appear in the opposite order. This is not exactly a fix, but the common case -- custom diagnostics after generic ones -- is now the default behavior.
    
    llvm-svn: 153369
    43a9af73
    [analyzer] Restart path diagnostic generation if any of the visitors change...
    Jordy Rose authored
    [analyzer] Restart path diagnostic generation if any of the visitors change the report configuration while walking the path.
    
    This required adding a change count token to BugReport, but also allowed us to ditch ImmutableList as the BugReporterVisitor data type.
    
    Also, remove the hack from MallocChecker, now that visitors appear in the opposite order. This is not exactly a fix, but the common case -- custom diagnostics after generic ones -- is now the default behavior.
    
    llvm-svn: 153369
Loading