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

Tip lightbulb hides closing bracket in specific case

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.2.1
    • None
    • W7 x64 SP1

      Closing bracket is hidden in specific case when tipping lightbulb shows next to it.

      Steps to reproduce:
      0) enable Clang code model and Clang static analyzer
      1) paste following code to file
      2) place cursor after [0
      3) type ]
      Result: bracket is shown but then it is hidden after analyzer recognizes incomplete statement.
      Expected result: bracket is shown on it's place.

      Code:

      int main() {
          char*str;
          str[0
      }
      

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

            kosjar Nikolai Kosjar
            none P B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes