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

Comma operator confuses the parser

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • Qt Creator 2.1.0-rc1
    • C/C++/Obj-C++ Support
    • None

    Description

      For instance in:

      if(condition)
        dosomething(param), variable1 = true;
      

      or

      int x = value, variable2 = true, variable3 = 1;
      

      param, variable1, variable2 and varibale3

      will be marked as Unused variable and will also be hidden for Find Usages and Rename Symbol operations.

      Attachments

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

        Activity

          People

            erikv Erik Verbruggen
            mnaydenov Mihail Naydenov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes