Skip to content
  1. Aug 17, 2011
  2. Aug 16, 2011
  3. Aug 14, 2011
    • Eli Friedman's avatar
      Fix r137086 to actually work properly in general. PR10650. · 0be39708
      Eli Friedman authored
      llvm-svn: 137574
      0be39708
    • Francois Pichet's avatar
      Implement function template specialization at class scope extension in... · 00c7e6ce
      Francois Pichet authored
      Implement function template specialization at class scope extension in Microsoft mode. A new AST node is introduced: ClassScopeFunctionSpecialization. This node holds a FunctionDecl that is not yet specialized; then during the class template instantiation the ClassScopeFunctionSpecialization will spawn the actual function specialization.
      
      Example:
      template <class T>
      class A {
      public:
        template <class U> void f(U p) {  }
        template <> void f(int p) {  } // <== class scope specialization
      };
      
      This extension is necessary to parse MSVC standard C++ headers, MFC and ATL code.
      BTW, with this feature in, clang can parse (-fsyntax-only) all the MSVC 2010 standard header files without any error.
      
      llvm-svn: 137573
      00c7e6ce
  4. Aug 13, 2011
    • Bob Wilson's avatar
      Move handling of vget_lane/vset_lane before the code that checks the type. · 445c24f8
      Bob Wilson authored
      Unlike most of the other Neon intrinsics, these are not overloaded and do not
      have the extra argument that specifies the vector type.  This has not been
      fatal because the lane number operand is supposed to be an ICE and so that
      value has harmlessly been used as the type identifier.  Radar 9901281.
      
      llvm-svn: 137550
      445c24f8
  5. Aug 12, 2011
  6. Aug 11, 2011
    • Douglas Gregor's avatar
      Encapsulate the Objective-C id/Class/SEL "redefinition" types in · 9767347b
      Douglas Gregor authored
      ASTContext with accessors/mutators. The only functional change is that
      the AST writer won't bother writing the id/Class/SEL redefinition type
      if it hasn't been explicitly set; previously, it ended up being
      written as a synonym for the built-in id/Class/SEL.
      
      llvm-svn: 137349
      9767347b
    • John McCall's avatar
      Simplify EH control flow by observing that EH scopes form a simple · 8e4c74bb
      John McCall authored
      hierarchy of delegation, and that EH selector values are meaningful
      function-wide (good thing, too, or inlining wouldn't work).
      2,3d
      1a
      hierarchy of delegation and that EH selector values have the same
      meaning everywhere in the function instead of being meaningful only
      in the context of a specific selector.
      
      This removes the need for routing edges through EH cleanups,
      since a cleanup simply always branches to its enclosing scope.
      
      llvm-svn: 137293
      8e4c74bb
  7. Aug 10, 2011
  8. Aug 09, 2011
  9. Aug 08, 2011
  10. Aug 07, 2011
  11. Aug 06, 2011
    • John McCall's avatar
      Be sure to destroy the normal entry block of a cleanup that we · f82bdf6d
      John McCall authored
      aren't actually going to make a normal cleanup for.  Sometimes
      we optimistically create branches to such blocks for fixups,
      and then we resolve the fixup to somewhere within the cleanup's
      scope, and then the cleanup is actually not reachable for some
      reason.  The process of resolving the fixup leaves us with
      switches whose default edge leads to the cleanup;  we can
      replace that with unreachable, then (in many cases) turn
      the switch into an unconditional branch.
      
      Fixes PR10467.
      
      llvm-svn: 137011
      f82bdf6d
  12. Aug 05, 2011
  13. Aug 04, 2011
  14. Aug 03, 2011
  15. Aug 02, 2011
  16. Aug 01, 2011
  17. Jul 29, 2011
  18. Jul 28, 2011
  19. Jul 27, 2011
Loading