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

operator ? in member initializer list confuses formatter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 3.6.0
    • C/C++/Obj-C++ Support
    • arch gnu/linux; gentoo gnu/linux

      actual:

      class A
      {
      public:
          A() : m_foo{true ? false : true} {}
      
                             private:
                             bool m_foo;
      };
      

      expected:

      class A
      {
      public:
          A() : m_foo{true ? false : true} {}
      
      private:
          bool m_foo;
      };
      

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

            kosjar Nikolai Kosjar
            qiopn Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes