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

Highlighting is not working for variables in defined inside if()

XMLWordPrintable

    • Linux/X11

      For code similar to this:

      if(const bool a =
             []() {
                std::string b;
                return b.empty();
             }();
         a)
         ;
      

      highlighting (in the lambda) and code completion is not working (see the screenshot).

       

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

            kandeler Christian Kandeler
            dimanne DimanNe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes