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

clangd tooltip: namespace shown twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 17.0.0
    • C/C++/Obj-C++ Support
    • None
    • All

    Description

      There is a small glitch in the clangd tool tip: the namespace seems to be applied twice.

      in D:\qt6\qtmultimedia\src\multimedia\audio\qaudioformat_p.h, i hover over the "allSupportedSampleRates" variable, which basically looks like this:

      QT_BEGIN_NAMESPACE
      
      namespace QtMultimediaPrivate {
      
      inline constexpr std::array allSupportedSampleRates{
          8'000,  11'025, 12'000, 16'000, 22'050,  24'000,  32'000,  44'100,
          48'000, 64'000, 88'200, 96'000, 128'000, 176'400, 192'000,
      };
      

      the tooltip shows "std::std::array":

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes