Skip to content
  1. Dec 03, 2009
  2. Dec 02, 2009
  3. Dec 01, 2009
  4. Nov 30, 2009
  5. Nov 29, 2009
  6. Nov 28, 2009
  7. Nov 26, 2009
  8. Nov 25, 2009
  9. Nov 24, 2009
    • Ted Kremenek's avatar
      For the nil-receiver checker, take into account the behavioral changes that... · 1fc1f20e
      Ted Kremenek authored
      For the nil-receiver checker, take into account the behavioral changes that got introduced in Mac OS X 10.5 and later, notably return values of double, float, etc., will not be garbage.  Fixes <rdar://problem/6829160>.
      
      llvm-svn: 89809
      1fc1f20e
    • Ted Kremenek's avatar
      Cleanups and fixes to the nil-receiver checker, some of it fallout the · 005e8a06
      Ted Kremenek authored
      initial transition of the nil-receiver checker to the Checker
      interface as done in r89745.  Some important changes include:
      
      1) We consolidate the BugType object used for nil receiver bug
      reports, and don't include the type of the returned value in the
      BugType (which would be wrong if a nil receiver bug was reported more
      than once)
      
      2) Added a new (temporary) flag to CheckerContext: DoneEvauating.
      This is used by GRExprEngine when evaluating message expressions to
      not continue evaluating the message expression if this flag is set.
      This flag is currently set by the nil receiver checker.  This is an
      intermediate solution to allow the nil-receiver checker to properly
      work as a plug-in outside of GRExprEngine.  Basically, this flag
      indicates that the entire message expression has been evaluated, not
      just a precondition (which is what the nil-receiver checker does).
      This flag *should not* be repurposed for general use, but just to pull
      more things out of GRExprEngine that already in there as we devise a
      better interface in the Checker class.
      
      3) Cleaned up the logic in the nil-receiver checker, making the
      control-flow a lot easier to read.
      
      llvm-svn: 89804
      005e8a06
    • Zhongxing Xu's avatar
      We can remove this file now. · c2998766
      Zhongxing Xu authored
      llvm-svn: 89751
      c2998766
    • Zhongxing Xu's avatar
      Refactor undefined result checker. This is the last one. · c6123a1a
      Zhongxing Xu authored
      llvm-svn: 89750
      c6123a1a
    • Zhongxing Xu's avatar
      Refactor NilReceiverStructRet and NilReceiverLargerThanVoidPtrRet into · 9e200798
      Zhongxing Xu authored
      CallAndMessageChecker.
      
      llvm-svn: 89745
      9e200798
Loading