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

Broken auto-indent after lambda

XMLWordPrintable

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

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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes