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

operator ? in member initializer list confuses formatter

    XMLWordPrintable

Details

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

    Description

      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;
      };
      

      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
              qiopn Thomas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes