Skip to content
  1. Oct 06, 2011
  2. Oct 05, 2011
  3. Oct 04, 2011
  4. Oct 03, 2011
    • Anna Zaks's avatar
      [analyzer] In UndefBranchChecker, use a node generator which does not create... · 892427e2
      Anna Zaks authored
      [analyzer] In UndefBranchChecker, use a node generator which does not create an edge/branching. (ExprEngine should be in charge of generating edges. The checkers should examine the condition and generate PostCondition node if needed.)
      
      llvm-svn: 141034
      892427e2
    • Anna Zaks's avatar
      [analyzer] Cleanup in UndefBranchChecker: · c42197d0
      Anna Zaks authored
        - Remove unused FindUndefExpr::ProgramStateManager.
        - The Condition parameter of the callback is the terminator of the block, no need to retrieve it again.
      
      llvm-svn: 141027
      c42197d0
    • 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
  5. Oct 02, 2011
  6. Oct 01, 2011
  7. Sep 30, 2011
  8. Sep 28, 2011
  9. Sep 27, 2011
  10. Sep 26, 2011
  11. Sep 24, 2011
  12. Sep 23, 2011
  13. Sep 22, 2011
    • Anna Zaks's avatar
      ST->scanReachableSymbols() is creating a SubRegionMap (SRM) on every call... · 9db35a87
      Anna Zaks authored
      ST->scanReachableSymbols() is creating a SubRegionMap (SRM) on every call since one SRM is created in each ScanReachableSymbols instance. Creating the object just once and calling only scan inside the loop gives ~ 14% speed up of the StaticAnalyzer run (Release+Asserts). 
      
      Pull out the declaration of the ScanReachableSymbols so that it can be used directly. Document ProgramState::scanReachableSymbols() methods.
      
      llvm-svn: 140323
      9db35a87
  14. Sep 21, 2011
  15. Sep 20, 2011
  16. Sep 19, 2011
  17. Sep 16, 2011
    • Anna Zaks's avatar
      [analyzer] Refactor: make PathDiagnosticLocation responsible for validation of... · efd182d9
      Anna Zaks authored
      [analyzer] Refactor: make PathDiagnosticLocation responsible for validation of SourceLocations (commit 5 of ?):
       - Get rid of PathDiagnosticLocation(SourceRange r,..) constructor by providing a bunch of create methods.
       - The PathDiagnosticLocation(SourceLocation L,..), which is used by crate methods, will eventually become private.
       - Test difference is in the case when the report starts at the beginning of the function. We used to represent that point as a range of the very first token in the first statement. Now, it's just a single location representing the first character of the first statement.
      
      llvm-svn: 139932
      efd182d9
  18. Sep 15, 2011
Loading