1. 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
  2. 20 Apr, 2016 1 commit
  3. 30 Mar, 2016 1 commit
  4. 19 Jan, 2016 1 commit
  5. 27 Jul, 2015 1 commit
  6. 23 Jul, 2015 1 commit
  7. 10 Jun, 2015 1 commit
    • Nikolai Kosjar's avatar
      Clang: Use completion through backend process · 23b8a3b2
      Nikolai Kosjar authored
      
      
      This makes us independent of libclang crashes for completion.
      Re-parsing for highlighting still happens in the Qt Creator process.
      
      Run in verbose mode:
          qtc.clangcodemodel.ipc=true
      
      Run tests:
          -test "ClangCodeModel"
      
      Task-number: QTCREATORBUG-14108
      Task-number: QTCREATORBUG-12819
      Change-Id: Id3e95bd2afdb6508bbd1d35fddc69534a909b905
      Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
      23b8a3b2