1. 24 Jul, 2017 2 commits
  2. 20 Jul, 2017 1 commit
  3. 03 Jul, 2017 3 commits
  4. 29 Jun, 2017 1 commit
  5. 19 Jun, 2017 1 commit
  6. 14 Jun, 2017 2 commits
  7. 09 Jun, 2017 1 commit
  8. 23 May, 2017 1 commit
  9. 11 May, 2017 1 commit
    • Nikolai Kosjar's avatar
      Clang: Show function signature hint for constructors and functors · 64ec6955
      Nikolai Kosjar authored
      
      
      For "foo(|" [1] we requested a completion from libclang with the cursor
      position just before "foo" and then filtered the function declarations
      for functions matching the name "foo". This worked fine for ordinary
      functions, but obviously not for constructors and functors.
      
      Recent versions of libclang support proper function call completion with
      XCursor_OverloadCandidate, so make use of that.
      
      [1] '|' represents the cursor position
      
      Task-number: QTCREATORBUG-14882
      Task-number: QTCREATORBUG-14884
      Change-Id: I9d31b3960ccff6a8b9440dbcb7ff9f5ca9f61266
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      64ec6955
  10. 07 Mar, 2017 1 commit
  11. 16 Feb, 2017 1 commit
  12. 13 Feb, 2017 1 commit
  13. 03 Feb, 2017 1 commit
  14. 02 Feb, 2017 1 commit
  15. 01 Feb, 2017 1 commit
  16. 31 Jan, 2017 1 commit
    • Marco Bubke's avatar
      Utils: Fix long small string · a0c69c51
      Marco Bubke authored
      
      
      We used only 6 bit to save the short size but for SmallString with a size
      over 64 it is not enough. So we have now to use a uint16 instead of a
      uint8 if the size if over 64.
      
      Change-Id: I53558e492b6cb40b739b23a8af83d192a2e11bd2
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      a0c69c51
  17. 30 Jan, 2017 1 commit
    • Marco Bubke's avatar
      Clang: Add ClangPchManager · c072cdfb
      Marco Bubke authored
      
      
      Compiling every header file again and again is quite time comsuming. There
      are technics to improve this like preambles(a kind of automated
      precompiled header) but they don't share their data between translation
      units. This approach provides an automatically generated precompiled
      header for every project and subproject to improve the loading time.
      
      Change-Id: I34f5bd4db21951175920e2a9bbf6b97b1d705969
      Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      c072cdfb
  18. 20 Jan, 2017 1 commit
  19. 16 Jan, 2017 1 commit
  20. 07 Dec, 2016 3 commits
  21. 24 Nov, 2016 1 commit
  22. 23 Nov, 2016 3 commits
    • Nikolai Kosjar's avatar
      Clangbackend: Fix warning about inconsistent use of override · a86ff510
      Nikolai Kosjar authored
      
      
      Change-Id: Ia7a00fea846119f3026d4db2665853fc72a3a888
      Reviewed-by: Marco Bubke's avatarMarco Bubke <marco.bubke@qt.io>
      a86ff510
    • Tim Jenssen's avatar
      Clang: Extend clang query · 7f757884
      Tim Jenssen authored
      
      
      It's a first step to introduce clang query.
      
      Change-Id: I4d001a8883f56066765ce6bc561fa3f49611c0a4
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      7f757884
    • Nikolai Kosjar's avatar
      Clang: Fix initial document parse with modified content · 6cf1f796
      Nikolai Kosjar authored
      
      
      Reproduce with:
      
        1. Create a new class named Foo with the wizard.
        2. Close foo.h
        3. In foo.cpp, add some class member function.
        4. In foo.cpp, trigger the refactoring action "Add public Declaration"
           for the just defined member function. As a result, foo.h will be
           opened.
           ==> While the declaration was added, the header file is not yet
               reparsed with the new content - this can be verified by setting
               a custom color for "Function".
      
      In this use case, the refactoring action opens the editor and
      immediately modifies the document (RefactoringFile::apply).
      
      Fix by sending the document content along for the very first
      RegisterTranslationUnitForEditorMessage if the document was already
      modified.
      
      Change-Id: If20615a45b72dd0bef87e1870e403d0b277bc5d6
      Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
      6cf1f796
  23. 15 Nov, 2016 1 commit
    • Tim Jenssen's avatar
      Clang: Add clang query · 9c7ff519
      Tim Jenssen authored
      
      
      Clang query is mechanism to use AST matcher to search for code. Think
      about regular expression but in the context of AST. So you get a semantic
      search tool for C++.
      
      Change-Id: I72e882c5b53a0c52f352a3664847c4c3e4f6fc2e
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      9c7ff519
  24. 02 Nov, 2016 1 commit
  25. 21 Oct, 2016 3 commits
  26. 14 Oct, 2016 1 commit
  27. 11 Oct, 2016 1 commit
    • Nikolai Kosjar's avatar
      Clang: Show info bar for parse errors in header files · 9d55d848
      Nikolai Kosjar authored
      
      
      ...because those errors can lead to a substantial performance/functional
      regression.
      
      The actual diagnostics (possibly with children) are shown as details in
      the info bar.
      
      The info bar can be hidden with the "Do Not Show Again" button.
      Re-enabling the info bar is possible with the new editor tool bar
      button.
      
      Change-Id: I03394ff8e3c84127946b0b791930b28a385f5a46
      Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
      9d55d848
  28. 07 Oct, 2016 1 commit
  29. 27 Sep, 2016 1 commit
  30. 22 Sep, 2016 1 commit