Skip to content
  1. Nov 02, 2012
  2. Apr 04, 2012
  3. Jan 26, 2012
  4. Oct 26, 2011
  5. 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
  6. Oct 06, 2011
  7. Oct 03, 2011
    • Argyrios Kyrtzidis's avatar
      Allow getting all source locations of selector identifiers in a ObjCMethodDecl. · b8c3aaf4
      Argyrios Kyrtzidis authored
      Instead of always storing all source locations for the selector identifiers
      we check whether all the identifiers are in a "standard" position; "standard" position is
      
        -Immediately before the arguments: -(id)first:(int)x second:(int)y;
        -With a space between the arguments: -(id)first: (int)x second: (int)y;
        -For nullary selectors, immediately before ';': -(void)release;
      
      In such cases we infer the locations instead of storing them.
      
      llvm-svn: 140989
      b8c3aaf4
  8. Sep 20, 2011
    • Anna Zaks's avatar
      [analyzer] Refactor PathDiagnosticLocation: Make... · c29bed39
      Anna Zaks authored
      [analyzer] Refactor PathDiagnosticLocation: Make PathDiagnosticLocation(SourceLocation...) private. Most of the effort here goes to making BugReport refer to a PathDiagnosticLocation instead of FullSourceLocation. 
      
      (Another step closer to the goal of having Diagnostics which can recover from invalid SourceLocations.)
      
      llvm-svn: 140182
      c29bed39
  9. 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
  10. Aug 16, 2011
  11. May 06, 2011
    • Alexis Hunt's avatar
      Modify some deleted function methods to better reflect reality: · 4a8ea109
      Alexis Hunt authored
       - New isDefined() function checks for deletedness
       - isThisDeclarationADefinition checks for deletedness
       - New doesThisDeclarationHaveABody() does what
         isThisDeclarationADefinition() used to do
       - The IsDeleted bit is not propagated across redeclarations
       - isDeleted() now checks the canoncial declaration
       - New isDeletedAsWritten() does what it says on the tin.
       - isUserProvided() now correct (thanks Richard!)
      
      This fixes the bug that we weren't catching
      
      void foo() = delete;
      void foo() {}
      
      as being a redefinition.
      
      llvm-svn: 131013
      4a8ea109
  12. Mar 01, 2011
  13. Feb 28, 2011
  14. Feb 10, 2011
  15. Dec 23, 2010
  16. Dec 22, 2010
  17. Apr 17, 2010
  18. Mar 27, 2010
  19. Feb 08, 2010
  20. Jan 26, 2010
  21. Jan 25, 2010
    • Ted Kremenek's avatar
    • Ted Kremenek's avatar
      Split libAnalysis into two libraries: libAnalysis and libChecker. · d6b87086
      Ted Kremenek authored
      (1) libAnalysis is a generic analysis library that can be used by
          Sema.  It defines the CFG, basic dataflow analysis primitives, and
          inexpensive flow-sensitive analyses (e.g. LiveVariables).
      
      (2) libChecker contains the guts of the static analyzer, incuding the
          path-sensitive analysis engine and domain-specific checks.
      
      Now any clients that want to use the frontend to build their own tools
      don't need to link in the entire static analyzer.
      
      This change exposes various obvious cleanups that can be made to the
      layout of files and headers in libChecker.  More changes pending.  :)
      
      This change also exposed a layering violation between AnalysisContext
      and MemRegion.  BlockInvocationContext shouldn't explicitly know about
      BlockDataRegions.  For now I've removed the BlockDataRegion* from
      BlockInvocationContext (removing context-sensitivity; although this
      wasn't used yet).  We need to have a better way to extend
      BlockInvocationContext (and any LocationContext) to add
      context-sensitivty.
      
      llvm-svn: 94406
      d6b87086
  22. Nov 29, 2009
  23. Nov 28, 2009
  24. Nov 24, 2009
  25. Nov 11, 2009
    • Ted Kremenek's avatar
      Refactor DereferenceChecker to use only the new Checker API instead of · 5e1f78ae
      Ted Kremenek authored
      the old builder API.  This percolated a bunch of changes up to the
      Checker class (where CheckLocation has been renamed VisitLocation) and
      GRExprEngine.  ProgramPoint now has the notion of a "LocationCheck"
      point (with PreLoad and PreStore respectively), and a bunch of the old
      ProgramPoints that are no longer used have been removed.
      
      llvm-svn: 86798
      5e1f78ae
  26. Nov 03, 2009
Loading