Skip to content
  1. Jul 13, 2007
  2. Jul 12, 2007
  3. Jul 11, 2007
    • Chris Lattner's avatar
      Fix a release build of clang. · e399420b
      Chris Lattner authored
      llvm-svn: 39756
      e399420b
    • Chris Lattner's avatar
      update this. · 49ec4b6e
      Chris Lattner authored
      llvm-svn: 39746
      49ec4b6e
    • Chris Lattner's avatar
      Test commit · 28404cf4
      Chris Lattner authored
      llvm-svn: 39738
      28404cf4
    • Chris Lattner's avatar
      Convert .cvsignore files · 63e92754
      Chris Lattner authored
      llvm-svn: 39731
      63e92754
    • Steve Naroff's avatar
      Bug #: · 68b52f6d
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Remove reference to Attr.h...
      
      llvm-svn: 39730
      68b52f6d
    • Steve Naroff's avatar
      Bug #: · b207d6be
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Removed Attr.[h,cpp]...they didn't have any useful content.
      
      When more (GCC) attributes are added, we might want to create a file
      of this ilk. For now, it's better to remove them (to eliminate any confusion).
      
      I also update the Xcode project file...
      
      llvm-svn: 39729
      b207d6be
    • Steve Naroff's avatar
      Bug #: · e728ba35
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Two vector fixes:
      
      - Sema::CheckAssignmentConstraints() needs to compare the canonical type.
      - Expr::isLvalue() needs to disallow subscripting into a vector returned by a function. This
      follows the rules for struct returns (in C, at least...C++ is another story:-)
      
      Here is an example...
      
      float4 float4_return()
      {
          float4 xx;
      
          return xx;
      }
      void add_float4_void_return(float4 *a, float4 *b, float4 *result)
      {
          float f;
          float4_return()[1] = f; // now illegal
      }
      
      llvm-svn: 39728
      e728ba35
    • Chris Lattner's avatar
      implement codegen support for the "default argument promotions" (C99 6.5.2.2p6). · c14236b8
      Chris Lattner authored
      Not having this prevented promoting float arguments to double when passed
      into printf, for example.
      
      llvm-svn: 39727
      c14236b8
    • Chris Lattner's avatar
      remove obsolete comment. · 11eef2eb
      Chris Lattner authored
      llvm-svn: 39726
      11eef2eb
  4. Jul 10, 2007
  5. Jul 09, 2007
    • Steve Naroff's avatar
      Bug #: · 84ff4b44
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Typechecking support for vectors...
      
      - Added CheckVectorOperands(). Called from CheckAdditionOperands,
      CheckMultiplyDivideOperands, CheckSubstractionOperands, and CheckBitwiseOperands.
      - Added diagnostic for converting vector values of different size.
      - Modified Type::isArithmeticType to include vectors.
      
      Sould be ready for Chris to add code generation. I will continue testing/refining.
      
      llvm-svn: 39717
      84ff4b44
    • Steve Naroff's avatar
      Bug #: · 4dddb619
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      Fix a bozo bug in HandleDeclAttribute...only install a new type when appropriate.
      Also changed setType/setUnderlyingType to return void.
      
      llvm-svn: 39716
      4dddb619
  6. Jul 07, 2007
    • Steve Naroff's avatar
      Bug #: · 4ae0ac6a
      Steve Naroff authored
      Submitted by:
      Reviewed by:
      - Finished semantic analysis for vectors, added some diagnostics.
      - Added AST for vectors (instantiation, installation into the decl).
      - Fixed bug in ParseArraySubscriptExpr()...this crasher was introduced by me
      when we added the range support.
      - Turned pedantic off by default. Since vectors are gcc extensions, having
      pedantic on by default was annoying. Turning it off by default is  also
      consistent with gcc (but this wasn't my primary motivation).
      - Tweaked some comments and diagnostics.
      
      Note: The type checking code is still under construction (for vectors). This
      will be my next check-in.
      
      llvm-svn: 39715
      4ae0ac6a
  7. Jun 29, 2007
    • Bill Wendling's avatar
      Submitted by: Bill Wendling · a6930037
      Bill Wendling authored
      Reviewed by: Chris Lattner
      
      - Fix for C++ casting operators failing during parsing. Deriving the C++ cast
        expressions from CastExpr was the wrong way to go. Its constructor creates
        null QualTypes in one of its constructors. This doesn't work well with how
        the C++ casting expression class wanted to do things. Derive just from Expr
        instead.
      
      llvm-svn: 39714
      a6930037
    • Chris Lattner's avatar
      add codegen support for <<= and >>=. · 47c247e7
      Chris Lattner authored
      llvm-svn: 39713
      47c247e7
Loading