Skip to content
  1. Dec 05, 2008
  2. Nov 24, 2008
    • Chris Lattner's avatar
      Rename NamedDecl::getName() to getNameAsString(). Replace a bunch of · f3d3faec
      Chris Lattner authored
      uses of getName() with uses of getDeclName().  This upgrades a bunch of
      diags to take DeclNames instead of std::strings.
      
      This also tweaks a couple of diagnostics to be cleaner and changes
      CheckInitializerTypes/PerformInitializationByConstructor to pass
      around DeclarationNames instead of std::strings.
      
      llvm-svn: 59947
      f3d3faec
  3. Nov 17, 2008
  4. Nov 16, 2008
    • Zhongxing Xu's avatar
      Enhances SCA to process untyped region to typed region conversion. · ceca8061
      Zhongxing Xu authored
       - RegionView and RegionViewMap is introduced to assist back-mapping from
         super region to subregions.
       - GDM is used to carry RegionView information.
       - AnonTypedRegion is added to represent a typed region introduced by pointer
         casting. Later AnonTypedRegion can be used in other similar cases, e.g.,
         malloc()'ed region.
       - The specific conversion is delegated to store manager.
      
      llvm-svn: 59382
      ceca8061
  5. Nov 13, 2008
  6. Nov 11, 2008
  7. Nov 10, 2008
  8. Nov 03, 2008
  9. Nov 02, 2008
  10. Oct 27, 2008
  11. Oct 25, 2008
  12. Oct 24, 2008
  13. Oct 21, 2008
  14. Oct 17, 2008
  15. Oct 08, 2008
  16. Oct 06, 2008
  17. Oct 04, 2008
    • Ted Kremenek's avatar
      This is a big patch, but the functionality change is small and the rest of the... · 5ca90a24
      Ted Kremenek authored
      This is a big patch, but the functionality change is small and the rest of the patch consists of deltas due to API changes.
      
      This patch overhauls the "memory region" abstraction that was prototyped (but never really used) as part of the Store.h.  This patch adds MemRegion.h and MemRegion.cpp, which defines the class MemRegion and its subclasses.  This classes serve to define an abstract representation of memory, with regions being layered on other regions to to capture the relationships between fields and variables, variables and the address space they are allocated in, and so on.  
      
      The main motivation of this patch is that key parts of the analyzer assumed that all value bindings were to VarDecls.  In the future this won't be the case, and this patch removes lval::DeclVal and replaces it with lval::MemRegionVal.  Now all pieces of the analyzer must reason about abstract memory blocks instead of just variables.
      
      There should be no functionality change from this patch, but it opens the door for significant improvements to the analyzer such as field-sensitivity and object-sensitivity, both which were on hold until the memory abstraction got generalized.
      
      The memory region abstraction also allows type-information to literally be affixed to a memory region.  This will allow the some now redundant logic to be removed from the retain/release checker.
      
      llvm-svn: 57042
      5ca90a24
Loading