Skip to content
  1. Oct 26, 2011
  2. Oct 25, 2011
  3. Oct 24, 2011
  4. Oct 23, 2011
  5. Oct 19, 2011
  6. Oct 14, 2011
  7. Oct 11, 2011
  8. Oct 10, 2011
    • Richard Smith's avatar
      Constant expression evaluation refactoring: · caf3390d
      Richard Smith authored
       - Remodel Expr::EvaluateAsInt to behave like the other EvaluateAs* functions,
         and add Expr::EvaluateKnownConstInt to capture the current fold-or-assert
         behaviour.
       - Factor out evaluation of bitfield bit widths.
       - Fix a few places which would evaluate an expression twice: once to determine
         whether it is a constant expression, then again to get the value.
      
      llvm-svn: 141561
      caf3390d
Loading