1. 22 Oct, 2019 1 commit
    • Thomas Schöps's avatar
      clang: Workaround for empty problem ranges at start of document · 2384b2ba
      Thomas Schöps authored
      Sometimes, for some reason we seem to get problem ranges from libclang that
      start and end on the first character of the document. As a result, the final
      range computed for the ClangProblem will wrongly start from the beginning of the
      document and extend until the actual location of the problem. This commit
      introduces a workaround which discards the problematic problem ranges.
      2384b2ba
  2. 01 May, 2019 1 commit
  3. 20 Nov, 2018 1 commit
  4. 02 Oct, 2018 1 commit
    • Aaron Puchert's avatar
      Make implicit fallthroughs a compiler error, remove unneeded breaks · 3a2f9a9d
      Aaron Puchert authored
      Summary:
      With -Wimplicit-fallthrough the compiler warns about unannotated
      fallthroughs in switch statements. Since it is supported by both GCC and
      Clang, and can easily be fixed by adding Q_FALLTHROUGH() we enable it as
      error.
      
      As a consequence, we don't need to add redundant break statements as
      safety measure. So we also warn about that, but not as error, especially
      since it's only supported on Clang. (As far as I know.)
      
      Reviewers: #kdevelop, kossebau, kfunk
      
      Reviewed By: #kdevelop, kfunk
      
      Subscribers: mwolff, apol, kfunk, rjvbb, brauch, mssola, kossebau, kdevelop-devel
      
      Tags: #kdevelop
      
      Differential Revision: https://phabricator.kde.org/D15694
      3a2f9a9d
  5. 20 Aug, 2018 1 commit
  6. 15 Aug, 2018 1 commit
  7. 21 Nov, 2017 2 commits
  8. 13 Sep, 2017 1 commit
  9. 18 Mar, 2017 1 commit
  10. 04 Aug, 2016 1 commit
  11. 22 Jun, 2016 1 commit
  12. 10 Nov, 2015 1 commit
  13. 09 Oct, 2015 1 commit