Skip to content
  1. Mar 05, 2012
  2. Feb 18, 2012
  3. Feb 04, 2012
  4. Jan 26, 2012
  5. Jan 06, 2012
    • Ted Kremenek's avatar
      [analyzer] Make the entries in 'Environment' context-sensitive by making entries map from · 632e3b7e
      Ted Kremenek authored
      (Stmt*,LocationContext*) pairs to SVals instead of Stmt* to SVals.
      
      This is needed to support basic IPA via inlining.  Without this, we cannot tell
      if a Stmt* binding is part of the current analysis scope (StackFrameContext) or
      part of a parent context.
      
      This change introduces an uglification of the use of getSVal(), and thus takes
      two steps forward and one step back.  There are also potential performance implications
      of enlarging the Environment.  Both can be addressed going forward by refactoring the
      APIs and optimizing the internal representation of Environment.  This patch
      mainly introduces the functionality upon when we want to build upon (and clean up).
      
      llvm-svn: 147688
      632e3b7e
  6. Oct 26, 2011
  7. Oct 25, 2011
    • Anna Zaks's avatar
      [analyzer] Simplify CheckerContext · b473816b
      Anna Zaks authored
      Remove dead members/parameters: ProgramState, respondsToCallback, autoTransition.
      Remove addTransition method since it's the same as generateNode. Maybe we should
      rename generateNode to genTransition (since a transition is always automatically
      generated)?
      
      llvm-svn: 142946
      b473816b
  8. Oct 24, 2011
  9. Oct 06, 2011
  10. Sep 02, 2011
  11. Aug 18, 2011
    • Anna Zaks's avatar
      Remove EnhancedBugReport and RangedBugReport - pull all the extra... · 3a6bdf8f
      Anna Zaks authored
      Remove EnhancedBugReport and RangedBugReport - pull all the extra functionality they provided into their parent BugReport. The only functional changes are: made getRanges() non const - it adds default range to Ranges if none are supplied, made getStmt() private, which was another FIXME.
      
      llvm-svn: 137894
      3a6bdf8f
  12. Aug 16, 2011
  13. Aug 13, 2011
  14. Apr 15, 2011
  15. Mar 02, 2011
  16. Mar 01, 2011
  17. Feb 22, 2011
  18. Feb 17, 2011
  19. Feb 15, 2011
  20. Feb 12, 2011
  21. Feb 10, 2011
  22. Feb 08, 2011
  23. Feb 05, 2011
    • Argyrios Kyrtzidis's avatar
      [analyzer] Fix a false positive of the 'self' initialization checker. · dd03d8dd
      Argyrios Kyrtzidis authored
      A common pattern in classes with multiple initializers is to put the
      subclass's common initialization bits into a static function that receives
      the value of 'self', e.g:
      
         if (!(self = [super init]))
           return nil;
         if (!(self = _commonInit(self)))
           return nil;
      
      It was reported that 'self' was not set to the result of [super init].
      Until we can use inter-procedural analysis, in such a call, transfer the
      ObjCSelfInitChecker flags associated with 'self' to the result of the call.
      
      Fixes rdar://8937441 & http://llvm.org/PR9094
      
      llvm-svn: 124940
      dd03d8dd
  24. Feb 01, 2011
  25. Jan 26, 2011
  26. Jan 25, 2011
  27. Jan 11, 2011
Loading