Skip to content
  1. Jan 07, 2009
  2. Jan 06, 2009
  3. Jan 05, 2009
    • Daniel Dunbar's avatar
      Remainder is only valid on integer vector operands. · 0d2bfec5
      Daniel Dunbar authored
      Improve ext vector test case.
      
      llvm-svn: 61766
      0d2bfec5
    • Daniel Dunbar's avatar
      Back out code for handling VectorType's in getFloatingRank. · 8f8e40a3
      Daniel Dunbar authored
      llvm-svn: 61764
      8f8e40a3
    • Daniel Dunbar's avatar
      Use CheckVectorOperands when % is applied to a vector type. · 060d5e24
      Daniel Dunbar authored
      llvm-svn: 61763
      060d5e24
    • Daniel Dunbar's avatar
      Implement getFloatingRank() for extended vectors. · a1f3441d
      Daniel Dunbar authored
       - I'm not sure this is appropriate, but it seems reasonable to be
         able to call getFloatingRank on anything which isFloatingType().
      
      llvm-svn: 61758
      a1f3441d
    • Sebastian Redl's avatar
      Silence a GCC warning · 1654ef01
      Sebastian Redl authored
      llvm-svn: 61747
      1654ef01
    • Sebastian Redl's avatar
      PODness and Type Traits · baad4e76
      Sebastian Redl authored
      Make C++ classes track the POD property (C++ [class]p4)
      Track the existence of a copy assignment operator.
      Implicitly declare the copy assignment operator if none is provided.
      Implement most of the parsing job for the G++ type traits extension.
      Fully implement the low-hanging fruit of the type traits:
      __is_pod: Whether a type is a POD.
      __is_class: Whether a type is a (non-union) class.
      __is_union: Whether a type is a union.
      __is_enum: Whether a type is an enum.
      __is_polymorphic: Whether a type is polymorphic (C++ [class.virtual]p1).
      
      llvm-svn: 61746
      baad4e76
    • Daniel Dunbar's avatar
      Add prototype ccc rewrite. · 6e016003
      Daniel Dunbar authored
       - Entry point is tools/ccc/xcc until we are a functional replacement
         for ccc.
      
      This is highly experimental (FIXME/LOC ratio of 3.4%), quite crufty,
      and barely usable (and then only on my specific Darwin). However, many
      of the right ideas are present, and it already fixes a number of
      things gcc gets wrong.
      
      The major missing component is argument translation for tools
      (translating driver arguments into cc1/ld/as/etc. arguments). This is
      a large part of the driver functionality and will probably double the
      LOC, but my hope is that the current architecture is relatively
      stable.
      
      Documentation & motivation to follow soon...
      
      llvm-svn: 61739
      6e016003
    • Douglas Gregor's avatar
      Add forgotten test case for linkage specifications · 3bdc8958
      Douglas Gregor authored
      llvm-svn: 61737
      3bdc8958
    • Douglas Gregor's avatar
      Introduce support for "transparent" DeclContexts, which are · 07665a69
      Douglas Gregor authored
      DeclContexts whose members are visible from enclosing DeclContexts up
      to (and including) the innermost enclosing non-transparent
      DeclContexts. Transparent DeclContexts unify the mechanism to be used
      for various language features, including C enumerations, anonymous
      unions, C++0x inline namespaces, and C++ linkage
      specifications. Please refer to the documentation in the Clang
      internals manual for more information.
      
      Only enumerations and linkage specifications currently use transparent
      DeclContexts.
      
      Still to do: use transparent DeclContexts to implement anonymous
      unions and GCC's anonymous structs extension, and, later, the C++0x
      features. We also need to tighten up the DeclContext/ScopedDecl link
      to ensure that every ScopedDecl is in a single DeclContext, which
      will ensure that we can then enforce ownership and reduce the memory
      footprint of DeclContext.
      
      llvm-svn: 61735
      07665a69
Loading