Skip to content
  1. Apr 04, 2011
  2. Apr 02, 2011
  3. Apr 01, 2011
    • Chandler Carruth's avatar
      Fix an error in TreeTransform where we failed to copy the TemplateName's · 3d7e3daa
      Chandler Carruth authored
      location into a TemplateSpecializationTypeLoc. These were found using
      a hand-written program to inspect every source location in
      TemplateSpecializationTypeLocs and Valgrind. I don't know of any way to
      test them in Clang's existing test suite sadly.
      
      Example code that triggers the ElaboratedType case:
        template <typename T> struct X1 {
          template <typename U> struct X1_1 {
            int x;
          };
        };
      
        template <typename T, typename U> struct X2 {
          typename X1<T>::template X1_1<U> B;
        };
      
        X2<char, int> x2;
      
      The other fix was simply spotted by inspection. I audited all constructions of
      [Dependent]TemplateSpecializationTypeLocs in TreeTransform.h, and the rest set
      the TemplateNameLoc properly.
      
      llvm-svn: 128702
      3d7e3daa
  4. Mar 31, 2011
  5. Mar 30, 2011
  6. Mar 29, 2011
  7. Mar 28, 2011
  8. Mar 27, 2011
  9. Mar 26, 2011
  10. Mar 25, 2011
  11. Mar 24, 2011
  12. Mar 23, 2011
Loading