Skip to content
  1. Nov 07, 2008
    • Zhongxing Xu's avatar
      Finish the implementation of VisitCompoundLiteralExpr. As VisitInitListExpr is · 2c677c34
      Zhongxing Xu authored
      available, things get much simplified.
      
      One addition is that CompoundLiteralExpr can appear both in rvalue and lvalue
      context.
      
      llvm-svn: 58837
      2c677c34
    • Zhongxing Xu's avatar
      Make the assertion real. · e79a4e66
      Zhongxing Xu authored
      llvm-svn: 58833
      e79a4e66
    • Douglas Gregor's avatar
      Initial, rudimentary implementation of operator overloading for binary · 7d5fc7e2
      Douglas Gregor authored
      operators. For example, one can now write "x + y" where x or y is a
      class or enumeration type, and Clang will perform overload resolution
      for "+" based on the overloaded operators it finds.
      
      The other kinds of overloadable operators in C++ will follow this same
      approach. 
      
      Three major issues remain:
        1) We don't find member operators
        2) Since we don't have user-defined conversion operators, we can't
        call any of the built-in overloaded operators in C++ [over.built].
        3) Once we've done the semantic checks, we drop the overloaded
        operator on the floor; it doesn't get into the AST at all.
      
      llvm-svn: 58821
      7d5fc7e2
  2. Nov 06, 2008
  3. Nov 05, 2008
  4. Nov 04, 2008
  5. Nov 03, 2008
Loading