https://bugs.kde.org/show_bug.cgi?id=398063

            Bug ID: 398063
           Summary: clang-tidy plugin doesn't build with kdevelop 5.2
           Product: kdevelop
           Version: 5.2.4
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Analyzer: Clang-Tidy
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: aro...@archlinux.org
                CC: kosse...@kde.org
  Target Milestone: ---

Contrary to what is stated in
https://frinring.wordpress.com/2018/08/30/improve-your-cpp-code-in-kdevelop-with-clang-tidy/,
the clang-tidy plugin doesn't build with kdevelop 5.2

First of all there is an error 

/build/kdevelop-clang.tidy/src/kdev-clang-tidy-0.3.0/src/problemmodel.cpp:78:67:
error: variable ‘KDevelop::DocumentRange pathLocation’ has initializer but
incomplete type
     KDevelop::DocumentRange pathLocation(KDevelop::DocumentRange::invalid());
                                                                   ^~~~~~~

which can be fixed by adding #include <language/editor/documentrange.h>

After this one gets another error 

/build/kdevelop-clang.tidy/src/kdev-clang-tidy-0.3.0/src/problemmodel.cpp: In
member function ‘void ClangTidy::ProblemModel::setMessage(const QString&)’:
/build/kdevelop-clang.tidy/src/kdev-clang-tidy-0.3.0/src/problemmodel.cpp:81:5:
error: ‘setPlaceholderText’ was not declared in this scope
     setPlaceholderText(message, pathLocation, i18n("Clang-Tidy"));
     ^~~~~~~~~~~~~~~~~~

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to