Skip to content
  1. Nov 17, 2009
  2. Nov 16, 2009
    • Zhongxing Xu's avatar
      * Do the same thing to the basicstore as in r84163. · 731f4626
      Zhongxing Xu authored
      * Add a load type to GRExprEngine::EvalLoad().
      * When retrieve from 'theValue' of OSAtomic funcitions, use the type of the 
        region instead of the argument expression as the load type.
      * Then we can convert CastRetrievedSVal to a pure assertion. In the future
        we can let all Retrieve() methods simply return SVal.
      
      llvm-svn: 88888
      731f4626
    • Zhongxing Xu's avatar
      Remove an unused parameter. · 223f5119
      Zhongxing Xu authored
      llvm-svn: 88882
      223f5119
  3. Nov 14, 2009
  4. Nov 13, 2009
  5. Nov 12, 2009
  6. Nov 11, 2009
  7. Nov 10, 2009
  8. Nov 09, 2009
  9. Nov 07, 2009
    • Ted Kremenek's avatar
      Remove Checker::CheckType() (and instead using... · ae3361de
      Ted Kremenek authored
      Remove Checker::CheckType() (and instead using CheckerVisitor::PreVisitDeclStmt()), and refactor VLASizeChecker to have only one Checker subclass (not two) and to not use the node builders directly (and instead use the newer CheckerContext).
      
      llvm-svn: 86329
      ae3361de
  10. Nov 06, 2009
  11. Nov 05, 2009
  12. Nov 04, 2009
  13. Nov 03, 2009
  14. Oct 30, 2009
  15. Oct 29, 2009
  16. Oct 26, 2009
  17. Oct 23, 2009
    • Douglas Gregor's avatar
      Eliminate QualifiedDeclRefExpr, which captured the notion of a · 4bd90e53
      Douglas Gregor authored
      qualified reference to a declaration that is not a non-static data
      member or non-static member function, e.g., 
      
        namespace N { int i; }
        int j = N::i;
      
      Instead, extend DeclRefExpr to optionally store the qualifier. Most
      clients won't see or care about the difference (since
      QualifierDeclRefExpr inherited DeclRefExpr). However, this reduces the
      number of top-level expression types that clients need to cope with,
      brings the implementation of DeclRefExpr into line with MemberExpr,
      and simplifies and unifies our handling of declaration references.
      
      Extended DeclRefExpr to (optionally) store explicitly-specified
      template arguments. This occurs when naming a declaration via a
      template-id (which will be stored in a TemplateIdRefExpr) that,
      following template argument deduction and (possibly) overload
      resolution, is replaced with a DeclRefExpr that refers to a template
      specialization but maintains the template arguments as written.
      
      llvm-svn: 84962
      4bd90e53
  18. Oct 21, 2009
  19. Oct 18, 2009
  20. Oct 14, 2009
  21. Oct 06, 2009
    • Ted Kremenek's avatar
      Fix: <rdar://problem/7275774> Static analyzer warns about NULL pointer when · 8ec5771d
      Ted Kremenek authored
                                    adding assert
      
      This fix required a few changes:
      
      SimpleSValuator:
      - Eagerly replace a symbolic value with its constant value in EvalBinOpNN
        when it is constrained to a constant.  This allows us to better constant fold
        values along a path.
      - Handle trivial case of '<', '>' comparison of pointers when the two pointers
        are exactly the same.
      
      RegionStoreManager:
      
      llvm-svn: 83358
      8ec5771d
  22. Sep 27, 2009
    • Ted Kremenek's avatar
      Fix: · e41b81e9
      Ted Kremenek authored
      <rdar://problem/6914474> checker doesn't realize that variable might
      have been assigned if a pointer to that variable was passed to another
      function via a structure
      
      The problem here was the RegionStoreManager::InvalidateRegion didn't
      invalidate the bindings of invalidated regions.  This required a
      rewrite of this method using a worklist.
      
      As part of this fix, changed ValueManager::getConjuredSymbolVal() to
      require a 'void*' SymbolTag argument.  This tag is used to
      differentiate two different symbols created at the same location.
      
      llvm-svn: 82920
      e41b81e9
Loading