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

Clang: Failing cases for output parameter highlighting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.2.0-beta1
    • C/C++/Obj-C++ Support
    • None

      1. Set some formatting for "Output Argument" in Menu: Tools > Options > Text Editor > Tab:Fonts&Colors, e.g. bold text
      2. Open a file with the following content, the constructs denoted with "OPS" are not properly highlighted:
      struct Bar {
          Bar();
          Bar(Bar&other);
      };
      
      void testConstructors()
      {
          Bar bar;
      
          Bar bar2(bar); // OPS
          Bar bar3{bar}; // OPS
      }
      
      struct TestMemberInitialization {
          TestMemberInitialization(int &foo)
              : m_foo(foo) // OPS
          {}
      
          int m_foo;
      };
      

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

            bubke Marco Bubke
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes