Skip to content
  1. Mar 24, 2009
    • Eli Friedman's avatar
      Fix the ABI convention for struct returns on x86 outside of Darwin. · 2dc5f29f
      Eli Friedman authored
      llvm-svn: 67577
      2dc5f29f
    • Douglas Gregor's avatar
      Another use of adjustParameterType. Plus, GetTypeForDeclarator will · 1f0ce935
      Douglas Gregor authored
      always get ParmVarDecls with already-adjusted types. Assert it.
      
      Thanks, Anders!
      
      llvm-svn: 67576
      1f0ce935
    • Douglas Gregor's avatar
      Template instantiation for the declarations of member functions within · f4f296de
      Douglas Gregor authored
      a class template. At present, we can only instantiation normal
      methods, but not constructors, destructors, or conversion operators.
      
      As ever, this contains a bit of refactoring in Sema's type-checking. In
      particular:
      
        - Split ActOnFunctionDeclarator into ActOnFunctionDeclarator
          (handling the declarator itself) and CheckFunctionDeclaration
          (checking for the the function declaration), the latter of which
          is also used by template instantiation.
        - We were performing the adjustment of function parameter types in
          three places; collect those into a single new routine.
        - When the type of a parameter is adjusted, allocate an
          OriginalParmVarDecl to keep track of the type as it was written.
        - Eliminate a redundant check for out-of-line declarations of member
          functions; hide more C++-specific checks on function declarations
          behind if(getLangOptions().CPlusPlus).
      
      llvm-svn: 67575
      f4f296de
  2. Mar 23, 2009
Loading