1. 11 Jul, 2017 2 commits
  2. 07 Jul, 2017 2 commits
  3. 06 Jul, 2017 1 commit
    • Nikolai Kosjar's avatar
      C++: Fix crash for invalid code · f51d7a23
      Nikolai Kosjar authored
      ...due to indirect recursion:
      
        ...
        CPlusPlus::ClassOrNamespace::lookupType        LookupContext.cpp 833  0x7fffd6c954cc
        CPlusPlus::ClassOrNamespace::nestedType        LookupContext.cpp 1364 0x7fffd6c94bc6
        CPlusPlus::ClassOrNamespace::lookupType_helper LookupContext.cpp 955  0x7fffd6c9517f
        CPlusPlus::ClassOrNamespace::lookupType_helper LookupContext.cpp 983  0x7fffd6c952ad
        CPlusPlus::ClassOrNamespace::lookupType        LookupContext.cpp 833  0x7fffd6c954cc
        CPlusPlus::ClassOrNamespace::nestedType        LookupContext.cpp 1364 0x7fffd6c94bc6
        CPlusPlus::ClassOrNamespace::lookupType_helper LookupContext.cpp 955  0x7fffd6c9517f
        CPlusPlus::ClassOrNamespace::lookupType_helper LookupContext.cpp 983  0x7fffd6c952ad
        CPlusPlus::ClassOrNamespace::lookupType        LookupContext.cpp 833  0x7fffd6c954cc
        ...
      
      ClassOrNamespace::lookupType(const Name *) already guards with a list of
      entries already processed, but some calls deeper the list is not passed
      on and lookupType() starts again with an empty list. Handle that case,
      too.
      
      Task-number: QTCREATORBUG-18499
      Change-Id: Iab8978f6ac1d0aea16f49b3547415f43de887b07
      Reviewed-by: Marco Bubke's avatarMarco Bubke <marco.bubke@qt.io>
      f51d7a23
  4. 05 Jul, 2017 1 commit
  5. 03 Jul, 2017 8 commits
  6. 30 Jun, 2017 2 commits
  7. 29 Jun, 2017 3 commits
  8. 28 Jun, 2017 1 commit
  9. 26 Jun, 2017 1 commit
  10. 22 Jun, 2017 1 commit
  11. 20 Jun, 2017 1 commit
  12. 19 Jun, 2017 3 commits
  13. 16 Jun, 2017 2 commits
  14. 15 Jun, 2017 3 commits
    • Przemyslaw Gorszkowski's avatar
      C++: fix code completion of stl containers in internal code model · 7bcf4831
      Przemyslaw Gorszkowski authored
      This fix makes some trick and replaces existing typedef of 'pointer'
      to the simplest one(only in class unique_ptr), e.g.:
      template <class _Tp>
      class unique_ptr
      {
        typedef some_strange_things pointer;
        pointer operator->();
      }
      is replace with
      template <class _Tp>
      class unique_ptr
      {
        typedef _Tp* pointer;
        pointer operator->();
      }
      
      In most of the implementation of unique_ptr it should work.
      
      Similar approach is done for std::list, std::vector, std::queue, std::set,
      std::multiset, std::unordered_set.
      
      It is done in this hacky way to omit problems with cyclic and complex
      resolving of typedefs.
      
      Change-Id: I1363dfc5e23d3cd2fa7af7fc27423bfbac2d894d
      Reviewed-by: Nikolai Kosjar's avatarNikolai Kosjar <nikolai.kosjar@qt.io>
      7bcf4831
    • Eike Ziller's avatar
      Revert asConst for rvalue refs · 395dd94c
      Eike Ziller authored
      The rvalue refs go out of scope too fast, that's why it must be disabled
      (as it is for qAsConst).
      
      This partially reverts commit 0316219f.
      
      Change-Id: Ie2a88400922f0275203a61e4070fe66f2a1fbc7b
      Reviewed-by: default avatarhjk <hjk@qt.io>
      395dd94c
    • Joerg Bornemann's avatar
      Fix namespaced build · 19ea7059
      Joerg Bornemann authored
      Change-Id: Ie0f48ce209f3242f3f07b5f89e6c681f4dd7f810
      Reviewed-by: default avatarhjk <hjk@qt.io>
      19ea7059
  15. 14 Jun, 2017 6 commits
  16. 13 Jun, 2017 1 commit
  17. 12 Jun, 2017 1 commit
  18. 09 Jun, 2017 1 commit