Skip to content
  1. Jun 30, 2009
    • Chris Lattner's avatar
      Key decisions about 'bool' vs '_Bool' to be based on a new flag in langoptions. · c61089a6
      Chris Lattner authored
      This is simple enough, but then I thought it would be nice to make PrintingPolicy
      get a LangOptions so that various things can key off "bool" and "C++" independently.
      This spiraled out of control.  There are many fixme's, but I think things are slightly
      better than they were before.
      
      One thing that can be improved: CFG should probably have an ASTContext pointer in it,
      which would simplify its clients.
      
      llvm-svn: 74493
      c61089a6
  2. Jun 29, 2009
  3. Jun 28, 2009
  4. Jun 27, 2009
  5. Jun 26, 2009
    • Ted Kremenek's avatar
      Remove '#include <sstream>' from libAnalysis. · bb597cdf
      Ted Kremenek authored
      llvm-svn: 74245
      bb597cdf
    • Ted Kremenek's avatar
      Update method signature. · af1ac826
      Ted Kremenek authored
      llvm-svn: 74244
      af1ac826
    • Ted Kremenek's avatar
      Unbreak build. · 18e1caa6
      Ted Kremenek authored
      llvm-svn: 74238
      18e1caa6
    • Ted Kremenek's avatar
      Remove orphaned header file. · 4ac764d7
      Ted Kremenek authored
      llvm-svn: 74231
      4ac764d7
    • Ted Kremenek's avatar
      Introduce a new concept to the static analyzer: SValuator. · 1642bdaa
      Ted Kremenek authored
      GRTransferFuncs had the conflated role of both constructing SVals (symbolic
      expressions) as well as handling checker-specific logic. Now SValuator has the
      role of constructing SVals from expressions and GRTransferFuncs just handles
      checker-specific logic. The motivation is by separating these two concepts we
      will be able to much more easily create richer constraint-generating logic
      without coupling it to the main checker transfer function logic.
      
      We now have one implementation of SValuator: SimpleSValuator.
      
      SimpleSValuator is essentially the SVal-related logic that was in GRSimpleVals
      (which is removed in this patch). This includes the logic for EvalBinOp,
      EvalCast, etc. Because SValuator has a narrower role than the old
      GRTransferFuncs, the interfaces are much simpler, and so is the implementation
      of SimpleSValuator compared to GRSimpleVals. I also did a line-by-line review of
      SVal-related logic in GRSimpleVals and cleaned it up while moving it over to
      SimpleSValuator.
      
      As a consequence of removing GRSimpleVals, there is no longer a
      '-checker-simple' option. The '-checker-cfref' did everything that option did
      but also ran the retain/release checker. Of course a user may not always wish to
      run the retain/release checker, nor do we wish core analysis logic buried in the
      checker-specific logic. The next step is to refactor the logic in CFRefCount.cpp
      to separate out these pieces into the core analysis engine.
      
      llvm-svn: 74229
      1642bdaa
  6. Jun 25, 2009
  7. Jun 24, 2009
  8. Jun 23, 2009
Loading