Skip to content
  1. 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
    • Zhongxing Xu's avatar
      Reverse the RHSBlock of LogicalOp && and || · 8d1928a4
      Zhongxing Xu authored
      llvm-svn: 57041
      8d1928a4
    • Chris Lattner's avatar
      add a disclaimer · 879876d2
      Chris Lattner authored
      llvm-svn: 57038
      879876d2
    • Chris Lattner's avatar
      add a new Rewriter::getRewritenText method that returns the text for a range · 7c306a70
      Chris Lattner authored
      that includes any edits in the range.
      
      llvm-svn: 57037
      7c306a70
    • Steve Naroff's avatar
      Remove an old/vacuous if clause. · 3d5a11c6
      Steve Naroff authored
      llvm-svn: 57036
      3d5a11c6
  2. Oct 03, 2008
  3. Oct 02, 2008
  4. Oct 01, 2008
  5. Sep 30, 2008
    • Daniel Dunbar's avatar
      ccc: Infer action type upfront. · 123e7d1c
      Daniel Dunbar authored
       - More straightforward, e.g. -E should always imply action =
         'preprocess' (I think).
       - Pass another option through for OS X.
      
      llvm-svn: 56884
      123e7d1c
Loading