1. 20 May, 2015 2 commits
  2. 15 May, 2015 2 commits
  3. 28 Apr, 2015 1 commit
    • Orgad Shaneh's avatar
      C++: Fix specialization resolution for nested types · ad4cb444
      Orgad Shaneh authored
      
      
      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
  4. 24 Apr, 2015 2 commits
  5. 23 Apr, 2015 1 commit
  6. 13 Apr, 2015 1 commit
  7. 11 Apr, 2015 1 commit
  8. 01 Apr, 2015 2 commits
  9. 25 Mar, 2015 1 commit
  10. 24 Mar, 2015 1 commit
  11. 13 Mar, 2015 1 commit
  12. 05 Mar, 2015 1 commit
  13. 27 Feb, 2015 1 commit
  14. 26 Feb, 2015 3 commits
  15. 25 Feb, 2015 2 commits
  16. 20 Feb, 2015 1 commit
  17. 18 Feb, 2015 1 commit
  18. 17 Feb, 2015 1 commit
  19. 04 Feb, 2015 2 commits
    • Orgad Shaneh's avatar
      C++: Remove unneeded qualifications · 65e7db42
      Orgad Shaneh authored
      
      
      Mostly done using the following ruby script:
      Dir.glob('**/*.cpp').each { |file|
        next if file =~ %r{src/shared/qbs|/qmljs/}
        s = File.read(file)
        s.scan(/^using namespace (.*);$/) {
          ns = $1
          t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m|
            before = $1
            char = $2
            if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/
              m
            else
              before + char
            end
          }
          if t != s
            puts file
            File.open(file, 'w').write(t)
          end
        }
      }
      
      Change-Id: I6fbe13ddc1485efe95c3156097bf41d90c0febac
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
      65e7db42
    • Przemyslaw Gorszkowski's avatar
      C++: fix auto declaration in if condition · 955e28f9
      Przemyslaw Gorszkowski authored
      
      
      Fix for auto completion in case of auto declaration inside if condition:
      
      struct Foo { int bar; };
      void func()
      {
          if (auto s = new Foo)
              s->; // auto completion does not work
      }
      
      Task-number: QTCREATORBUG-13805
      Change-Id: Ia1776e8cc04e6040a6bf5f43cf82cfd6ce6dde7a
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
      955e28f9
  20. 21 Jan, 2015 1 commit
  21. 16 Jan, 2015 1 commit
  22. 13 Jan, 2015 1 commit
  23. 12 Jan, 2015 1 commit
  24. 06 Jan, 2015 3 commits
  25. 19 Dec, 2014 1 commit
  26. 09 Oct, 2014 1 commit
  27. 29 Sep, 2014 1 commit
  28. 26 Sep, 2014 1 commit
  29. 22 Sep, 2014 1 commit
  30. 11 Sep, 2014 1 commit