Skip to content
  1. Apr 01, 2009
  2. Mar 28, 2009
  3. Mar 26, 2009
  4. Mar 22, 2009
  5. Mar 21, 2009
  6. Mar 19, 2009
  7. Mar 10, 2009
  8. Mar 09, 2009
  9. Mar 07, 2009
  10. Mar 06, 2009
  11. Mar 04, 2009
  12. Feb 27, 2009
  13. Feb 24, 2009
  14. Feb 19, 2009
  15. Feb 17, 2009
    • Daniel Dunbar's avatar
      Change EmitConstantExpr to allow failure. · 38ad1e61
      Daniel Dunbar authored
      IRgen no longer relies on isConstantInitializer, instead we just try
      to emit the constant. If that fails then in C we emit an error
      unsupported (this occurs when Sema accepted something that it doesn't
      know how to fold, and IRgen doesn't know how to emit) and in C++ we
      emit a guarded initializer.
      
      This ends up handling a few more cases, because IRgen was actually
      able to emit some of the constants Sema accepts but can't Evaluate().
      For example, PR3398.
      
      llvm-svn: 64780
      38ad1e61
  16. Feb 14, 2009
  17. Feb 13, 2009
Loading