Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22433

clangd LanguageClient vs ClangCodeModel: duplicate errors, configuring clangd warnings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 4.9.0
    • C/C++/Obj-C++ Support
    • None
    • Gentoo linux / amd64.

    Description

      Sorry if these are more questions than bugs, but at least better docs would be in order:

      1. When I have both ClangCodeModel and LanguageClient plugins on, and clangd language client configured, I get duplicate error annotations (see screenshot). I suppose I have to disable ClangCodeModel plugin when I enable clangd LanguageClient, right?

      2. Where do I configure warnings for clangd LanguageClient? Tools / Options / Analyzer / Clang Tools does not help: could not neither turn on "unused parameter" as on screenshot (no warning when ClangCodeModel is off), nor specify -Wno-c++17-extensions (warns about nested namespaces when LanguageClient is on).

      Thanks.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            dimgel Dmitry Grigoriev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes