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

Tip lightbulb hides closing bracket in specific case

    XMLWordPrintable

Details

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

    Description

      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
      }
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: