Skip to content
  1. Aug 05, 2011
  2. Aug 04, 2011
  3. Aug 03, 2011
  4. Aug 02, 2011
  5. Jul 29, 2011
  6. Jul 24, 2011
  7. Jul 22, 2011
    • John McCall's avatar
      In Objective-C, pull arbitrary attributes from overridden · d2930c21
      John McCall authored
      methods, including indirectly overridden methods like those
      declared in protocols and categories.  There are mismatches
      that we would like to diagnose but aren't yet, but this   
      is fine for now.
      
      I looked at approaches that avoided doing this lookup 
      unless we needed it, but the infer-related-result-type
      checks were doing it anyway, so I left it with the same
      fast-path check for no previous declartions of that 
      selector.
      
      llvm-svn: 135743
      d2930c21
  8. Jul 19, 2011
  9. Jul 16, 2011
  10. Jul 15, 2011
  11. Jul 06, 2011
  12. Jun 28, 2011
  13. Jun 27, 2011
  14. Jun 20, 2011
  15. Jun 16, 2011
    • Jordy Rose's avatar
      [analyzer] Clean up modeling of strcmp, including cases where a string literal... · c0263708
      Jordy Rose authored
      [analyzer] Clean up modeling of strcmp, including cases where a string literal has an embedded null character, and where both arguments are the same buffer. Also use nested ifs rather than early returns; in this case early returns will lose any assumptions we've made earlier in the function.
      
      llvm-svn: 133154
      c0263708
    • John McCall's avatar
      Automatic Reference Counting. · 31168b07
      John McCall authored
      Language-design credit goes to a lot of people, but I particularly want
      to single out Blaine Garst and Patrick Beard for their contributions.
      
      Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself,
      in no particular order.
      
      llvm-svn: 133103
      31168b07
  16. Jun 15, 2011
    • Jordy Rose's avatar
      [analyzer] Revise CStringChecker's modelling of strcpy() and strcat(): · 634c12d2
      Jordy Rose authored
      - (bounded copies) Be more conservative about how much is being copied.
      - (str(n)cat) If we can't compute the exact final length of an append operation, we can still lower-bound it.
      - (stpcpy) Fix the conjured return value at the end to actually be returned.
      
      This requires these supporting changes:
      - C string metadata symbols are still live even when buried in a SymExpr.
      - "Hypothetical" C string lengths, to represent a value that /will/ be passed to setCStringLength() if all goes well. (The idea is to allow for temporary constrainable symbols that may end up becoming permanent.)
      - The 'checkAdditionOverflow' helper makes sure that the two strings being appended in a strcat don't overflow size_t. This should never *actually* happen; the real effect is to keep the final string length from "wrapping around" in the constraint manager.
      
      This doesn't actually test the "bounded" operations (strncpy and strncat) because they can leave strings unterminated. Next on the list!
      
      llvm-svn: 133046
      634c12d2
  17. Jun 14, 2011
  18. Jun 13, 2011
  19. Jun 10, 2011
    • Jordy Rose's avatar
      [analyzer] PR8962 again. Ban ParenExprs (and friends) from block-level... · 1734737d
      Jordy Rose authored
      [analyzer] PR8962 again. Ban ParenExprs (and friends) from block-level expressions (by calling IgnoreParens before adding expressions to blocks). Undo 132769 (LiveVariables' local IgnoreParens), since it's no longer necessary.
      
      Also, have Environment stop looking through NoOp casts; it didn't match the behavior of LiveVariables. And once that's gone, the whole cast block of that switch is unnecessary.
      
      llvm-svn: 132840
      1734737d
  20. Jun 09, 2011
  21. Jun 04, 2011
  22. May 26, 2011
  23. May 25, 2011
Loading