1. 01 Jun, 2015 2 commits
  2. 22 May, 2015 2 commits
  3. 21 May, 2015 1 commit
  4. 20 May, 2015 2 commits
  5. 15 May, 2015 2 commits
  6. 05 May, 2015 1 commit
  7. 04 May, 2015 1 commit
  8. 28 Apr, 2015 2 commits
    • Orgad Shaneh's avatar
      C++: Fix instantiation of typedefed type in block · 6a9bd957
      Orgad Shaneh authored and Orgad Shaneh's avatar Orgad Shaneh committed
      
      
      Use-case:
      template<typename T>
      struct Temp { T t; };
      
      struct Foo { int bar; };
      
      void func()
      {
          typedef Foo *pointer;
          Temp<pointer> temp;
          temp.t->bar; // bar not highlighted
      }
      
      Task-number: QTCREATORBUG-14351
      Change-Id: I13ca6145a0069bbc7a7207f69b43011c69ec72c7
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
      6a9bd957
    • Orgad Shaneh's avatar
      C++: Fix specialization resolution for nested types · ad4cb444
      Orgad Shaneh authored and Orgad Shaneh's avatar Orgad Shaneh committed
      
      
      Use-cases:
      
      template<typename T>
      struct Traits { typedef typename T::pointer pointer; };
      
      template<typename _Tp>
      struct Traits<_Tp*> { typedef _Tp *pointer; };
      
      struct Foo { int bar; };
      
      // 1
      template<typename T>
      class Temp
      {
      protected:
         typedef Traits<T> TraitsT;
      
      public:
         typedef typename TraitsT::pointer pointer;
         pointer p;
      };
      
      void func()
      {
         Temp<Foo *> t;
         t.p-> // complete
      }
      
      // 2
      class Temp2
      {
      protected:
         typedef Foo *FooPtr;
         typedef Traits<FooPtr> TraitsT;
      
      public:
         typedef typename TraitsT::pointer pointer;
         pointer p;
      };
      
      void func2()
      {
         Temp2 t;
         t.p-> // complete
      }
      
      Task-number: QTCREATORBUG-14141
      Change-Id: Id3459671117c0c81bcde7c9714b42750634c0225
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
      ad4cb444
  9. 27 Apr, 2015 2 commits
  10. 23 Apr, 2015 2 commits
  11. 21 Apr, 2015 1 commit
  12. 20 Apr, 2015 3 commits
  13. 18 Apr, 2015 1 commit
  14. 13 Apr, 2015 2 commits
  15. 02 Apr, 2015 1 commit
  16. 26 Mar, 2015 1 commit
  17. 13 Mar, 2015 1 commit
  18. 05 Mar, 2015 1 commit
  19. 25 Feb, 2015 1 commit
  20. 23 Jan, 2015 1 commit
  21. 16 Jan, 2015 1 commit
  22. 13 Jan, 2015 1 commit
  23. 06 Jan, 2015 2 commits
  24. 09 Oct, 2014 1 commit
  25. 25 Sep, 2014 1 commit
  26. 28 Aug, 2014 1 commit
  27. 20 Aug, 2014 1 commit
  28. 01 Aug, 2014 1 commit
    • Przemyslaw Gorszkowski's avatar
      C++: nested class with enclosing template class · ba42ceb0
      Przemyslaw Gorszkowski authored
      
      
      The parent of instantiation of nested class of template class
      should be the instantiation of enclosing template class.
      
      To prevent the infinite loop for case with local typedef of enclosing
      template we should not change a parent of typedefed instatiation of
      enclosing template. Example:
      template <typename T>
      struct Enclosing
      {
        typedef Enclosing<T> EnclosingT;// first case
        struct Nested
        {
          typedef Enclosing<T> EnclosingT;// second case
        };
      };
      
      Task-number: QTCREATORBUG-11752
      Task-number: QTCREATORBUG-11999
      Change-Id: Iadd7b5ef73ee0c4881f59c9dabfe03339f55827b
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      ba42ceb0
  29. 31 Jul, 2014 1 commit