Skip to content
  1. Jul 26, 2008
  2. Jul 22, 2008
  3. Jul 09, 2008
  4. Jun 30, 2008
    • Chris Lattner's avatar
      Make a few related changes: · 9a8d1d9e
      Chris Lattner authored
      1) add a new ASTContext::getFloatTypeSemantics method.
      2) Use it from SemaExpr.cpp, CodeGenTypes.cpp and other places.
      3) Change the TargetInfo.h get*Format methods to return their 
         fltSemantics byref instead of by pointer.
      4) Change CodeGenFunction::EmitBuiltinExpr to allow builtins which
         sometimes expand specially and othertimes fall back to libm.
      5) Add support for __builtin_nan("") to codegen, cases that don't pass
         in an empty string are currently lowered to libm calls.
      6) Fix codegen of __builtin_infl.
      
      llvm-svn: 52914
      9a8d1d9e
  5. Jun 28, 2008
  6. Jun 16, 2008
  7. May 20, 2008
  8. May 16, 2008
  9. May 14, 2008
  10. Mar 16, 2008
    • Chris Lattner's avatar
      Make a major restructuring of the clang tree: introduce a top-level · 7a51313d
      Chris Lattner authored
      lib dir and move all the libraries into it.  This follows the main
      llvm tree, and allows the libraries to be built in parallel.  The
      top level now enforces that all the libs are built before Driver,
      but we don't care what order the libs are built in.  This speeds
      up parallel builds, particularly incremental ones.
      
      llvm-svn: 48402
      7a51313d
  11. Mar 03, 2008
  12. Feb 13, 2008
  13. Feb 11, 2008
  14. Jan 17, 2008
  15. Jan 07, 2008
  16. Dec 29, 2007
  17. Dec 28, 2007
  18. Dec 20, 2007
  19. Dec 18, 2007
    • Steve Naroff's avatar
      · b74406ba
      Steve Naroff authored
      Fixe bogus error for variable argument methods. Sema::ObjcGetTypeForMethodDefinition() wasn't preserving the isVariadic boolean. Another fix is to avoid synthsizing the function decl entirely, however this is a separate issue that I don't want to deal with now. Also added a FIXME to Sema::CheckFunctionCall(), which is currently emitting a bogus warning.
      
      llvm-svn: 45146
      b74406ba
  20. Dec 17, 2007
    • Ted Kremenek's avatar
      Modified format-string checking to not emit a warning when all of the · 3fbeaea7
      Ted Kremenek authored
      following hold:
      
      (1) A vprintf-like function is called that takes the argument list via a
          via_list argument.
      
      (2) The format string is a non-literal that is the parameter value of
          the enclosing function, e.g:
          
          void logmessage(const char *fmt,...) { 
            va_list ap;
            va_start(ap,fmt);
            fprintf(fmt,ap);  // Do not emit a warning.
          }
          
      In the future this special case will be enhanced to consult the "format"
      attribute attached to a function declaration instead of just allowing a blank
      check for all function parameters to be used as format strings to vprintf-like
      functions. This will happen when more support for attributes becomes
      available.
      
      llvm-svn: 45114
      3fbeaea7
    • Ted Kremenek's avatar
      ea63b157
  21. Dec 04, 2007
  22. Nov 30, 2007
  23. Nov 29, 2007
    • Ted Kremenek's avatar
      Enhanced implementation of -Wfloat-equal to check for comparisons against · eda40e27
      Ted Kremenek authored
      floating-point literals that are represented exactly by the APFloat in
      FloatingLiteral. For such literals, we do not emit a warning since such checks are
      often performed in real code to see if a variable has changed from its original
      value. This heuristic clearly can lead to false negatives, but the hope is it will
      significantly reduce false positives to help make the compiler flag more useful.
      
      llvm-svn: 44424
      eda40e27
  24. Nov 25, 2007
  25. Oct 12, 2007
  26. Aug 30, 2007
  27. Aug 28, 2007
  28. Aug 27, 2007
Loading