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

Broken auto-indent after lambda

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • Qt Creator 4.2.1, Qt Creator 4.3.0-rc1
    • C/C++/Obj-C++ Support
    • None

    Description

      typedef bool (*dynCalcFn)();
      
      dynCalcFn fnPtr = []() -> bool { // <- broken auto-indent by reason of '->'
      };
      

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              wxmaper aleksandr Kazantsev
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes