Skip to content
  1. Sep 22, 2011
  2. Sep 21, 2011
    • John McCall's avatar
      ANSI C requires that a call to an unprototyped function type succeed · cbc038a6
      John McCall authored
      if the definition has a non-variadic prototype with compatible
      parameters.  Therefore, the default rule for such calls must be to
      use a non-variadic convention.  Achieve this by casting the callee to
      the function type with which it is required to be compatible, unless
      the target specifically opts out and insists that unprototyped calls
      should use the variadic rules.  The only case of that I'm aware of is
      the x86-64 convention, which passes arguments the same way in both
      cases but also sets a small amount of extra information;  here we seek
      to maintain compatibility with GCC, which does set this when calling
      an unprototyped function.
      
      Addresses PR10810 and PR10713.
      
      llvm-svn: 140241
      cbc038a6
    • Richard Trieu's avatar
      Change "ivar" to true for a boolean function argument. Since string literals... · e4f3180f
      Richard Trieu authored
      Change "ivar" to true for a boolean function argument.  Since string literals are cast to true, this should no effect on behavior.
      
      llvm-svn: 140231
      e4f3180f
  3. Sep 20, 2011
  4. Sep 19, 2011
  5. Sep 18, 2011
  6. Sep 15, 2011
  7. Sep 14, 2011
  8. Sep 13, 2011
  9. Sep 12, 2011
Loading