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

Strange outline of template types using Clang Code model

XMLWordPrintable

    • Windows

      Useless waste of lines in outline is happening with templates

      template<class t1, class t2, class t3, class t4>
       void f(t1 v1, t2 v2, t3 v3, t4 v4) {v1=v2=v3=v4;}
      

      produces

      а should be shown as

      f<t1,t2,t3,t4>(t1,t2,t3,t4)
      

      in one line. Or

      <t1,t2,t3,t4>
        f(t1,t2,t3,t4)

      (f should be moved right ... not like it is done currently with same indenting)

      Currently 4 lines are wasted for t1-t4 without giving any info for each of them. I understand that there is no possibility to say something helpfull for template types ... so let's not waste lines on them

       

        1. Screenshot.png
          Screenshot.png
          4 kB
        2. Screenshot_2.png
          Screenshot_2.png
          5 kB
        3. Screenshot_3.png
          Screenshot_3.png
          3 kB
        4. Screenshot_1.png
          Screenshot_1.png
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            progrev Prav Ogrev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes