1. 15 Mar, 2018 1 commit
  2. 01 Mar, 2018 1 commit
  3. 28 Sep, 2017 1 commit
  4. 13 Sep, 2017 1 commit
  5. 29 Jul, 2017 4 commits
  6. 27 Jul, 2017 1 commit
    • Sven Brauch's avatar
      clang: fix precompiled preamble cache misses · f14a8fc9
      Sven Brauch authored
      We were a) passing in a wrong file size, and b) a different set of unsaved
      files on building the translation unit as compared to invoking completion.
      This resulted in the precompiled preamble being rebuilt every single time.
      On my test file, time spent in clang_codeCompleteAt goes down from ~700ms
      to ~12ms with this change after the project is fully parsed.
      
      It still doesn't work in header files at all.
      
      Differential Revision: https://phabricator.kde.org/D6905
      f14a8fc9
  7. 16 Jul, 2017 1 commit
  8. 28 Jun, 2017 3 commits
  9. 07 Apr, 2017 1 commit
  10. 23 Mar, 2017 1 commit
  11. 04 Jan, 2017 1 commit
  12. 08 Sep, 2016 1 commit
  13. 23 Jul, 2016 1 commit
  14. 09 Jul, 2016 1 commit
  15. 14 Jan, 2016 2 commits
    • Milian Wolff's avatar
      Filter out declarations that don't belong to the clang plugin. · 25fafab4
      Milian Wolff authored
      Not sure what would happen if we'd get declarations from other
      languages in the clang code completion... I don't want to know.
      So better be safe and filter out all other languages.
      25fafab4
    • Kevin Funk's avatar
      Clang: Fix crash in findDeclaration · b2291e2a
      Kevin Funk authored
      This happens when KDevelop tries to load stale declarations, e.g. from
      an unloaded language plugin.
      
      See message:
      [kdevelop(21511)/(kdevplatform.language) unknown(0): Cannot load a
      top-context from file
      "/home/kfunk/.cache/kdevduchain/kdevelop-{e7169c72-542e-43db-ab7d-923f7cb0d500}/topcontexts/6359"
      - the required language-support for handling ID 100 is probably not
        loaded
      [kdevelop(21511)/(kdevelop.plugins.clang) unknown(0): Detected an
      invalid declaration for "acos"
      
      ^ That last line was added as part of this patch.
      
      Backtrace:
      0  KDevelop::Declaration::kind (this=0x0) at
      /home/kfunk/devel/src/kf5/kdevplatform-stable/language/duchain/declaration.cpp:98
      1  0x00007fffc2f26ef4 in (anonymous namespace)::findDeclaration
      (qid=..., ctx=..., position=..., handled=Python Exception <class
      'gdb.error'> There is no member named next.:
      ) at
      /home/kfunk/devel/src/kf5/kdevelop-stable/languages/clang/codecompletion/context.cpp:513
      2  0x00007fffc2f2534e in ClangCodeCompletionContext::completionItems
      (this=0x7fffa4003e40, abort=@0x7fffb2def7a8: false) at
      /home/kfunk/devel/src/kf5/kdevelop-stable/languages/clang/codeco
      mpletion/context.cpp:1021
      3  0x00007fffc2f22729 in (anonymous
      namespace)::ClangCodeCompletionWorker::completionRequested
      (this=0x3e72ed0, url=..., position=..., text=..., followingText=...) at
      /home/kfunk/devel/src
      /kf5/kdevelop-stable/languages/clang/codecompletion/model.cpp:138
      b2291e2a
  16. 17 Dec, 2015 1 commit
  17. 01 Dec, 2015 1 commit
  18. 10 Nov, 2015 2 commits
  19. 09 Nov, 2015 1 commit